gitlab-org--gitlab-foss/app/views/shared/_clone_panel.html.haml
Dmitriy Zaporozhets 010a770b3f
Migrate forms and inputs pt1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 02:50:36 +02:00

6 lines
432 B
Text

.git-clone-holder
.protocol-btns
%button{class: "btn #{ 'active' if default_clone_protocol == 'ssh' }", :"data-clone" => @project.ssh_url_to_repo} SSH
%button{class: "btn #{ 'active' if default_clone_protocol == 'http' }", :"data-clone" => @project.http_url_to_repo}= gitlab_config.protocol.upcase
.protocol-clone
= text_field_tag :project_clone, default_url_to_repo, class: "one_click_select span4", readonly: true