summaryrefslogtreecommitdiff
path: root/app/views/projects/empty.html.haml
diff options
context:
space:
mode:
authorJason Hollingsworth <jhworth.developer@gmail.com>2014-01-07 21:03:27 -0600
committerJason Hollingsworth <jhworth.developer@gmail.com>2014-01-08 10:06:03 -0600
commit04baf0b569a84430cb8c366594b82a72a4ff73b6 (patch)
tree051514d054ad61a6f59608d86ecb749e6146dcba /app/views/projects/empty.html.haml
parent3c7a80646198c546a2cfd4aa05b7724f51a6eb7f (diff)
downloadgitlab-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.haml6
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