diff options
author | Jason Hollingsworth <jhworth.developer@gmail.com> | 2014-01-07 21:03:27 -0600 |
---|---|---|
committer | Jason Hollingsworth <jhworth.developer@gmail.com> | 2014-01-08 10:06:03 -0600 |
commit | 04baf0b569a84430cb8c366594b82a72a4ff73b6 (patch) | |
tree | 051514d054ad61a6f59608d86ecb749e6146dcba /app/views/projects/empty.html.haml | |
parent | 3c7a80646198c546a2cfd4aa05b7724f51a6eb7f (diff) | |
download | gitlab-ce-04baf0b569a84430cb8c366594b82a72a4ff73b6.tar.gz |
Update clone panel to use input group.
Use clone panel in `Git Access` section of wiki.
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r-- | app/views/projects/empty.html.haml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index 15cf150460f..eae4949fcd3 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -29,8 +29,7 @@ touch README git add README git commit -m 'first commit' - %span.clone= "git remote add origin #{default_url_to_repo}" - :preserve + git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')} git push -u origin master %fieldset @@ -38,8 +37,7 @@ %pre.dark :preserve cd existing_git_repo - %span.clone= "git remote add origin #{default_url_to_repo}" - :preserve + git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')} git push -u origin master - if can? current_user, :remove_project, @project |