Change projects/empty to include the clone_panel partial instead of duplicating

This commit is contained in:
Robert Speicher 2012-09-04 12:05:08 -04:00
parent 82a3996883
commit 0bc4ecfedd
2 changed files with 13 additions and 19 deletions

View file

@ -1,12 +1,6 @@
= render 'shared/no_ssh'
.project_clone_panel
.row
.span7
.form-horizontal
.input-prepend.project_clone_holder
= link_to "SSH", "#", class: "btn small active", :"data-clone" => @project.ssh_url_to_repo
= link_to "HTTP", "#", class: "btn small", :"data-clone" => @project.http_url_to_repo
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
= render 'clone_panel'
%div.git-empty
%h4 Git global setup:
%pre.dark