Project git clone panel

This commit is contained in:
randx 2012-08-25 23:39:01 +03:00
parent efde86537a
commit 2c32574ac3
2 changed files with 12 additions and 3 deletions

View file

@ -1,12 +1,10 @@
= render "project_head"
.entry
.project_clone_panel
.row
.span7
.form-horizontal
.input-prepend.project_clone_holder
%span.add-on git clone
= 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"