diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 04:50:36 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 04:50:36 +0400 |
commit | 010a770b3fa15119b40a994fde6ffdde3acf6d2d (patch) | |
tree | d0d90a2aefe78dae9db490f8b5ca168ce4809e28 /app/views/shared/_clone_panel.html.haml | |
parent | 16eb3ac360df60469cc9b1a93870c0273c7fe78f (diff) |
Migrate forms and inputs pt1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r-- | app/views/shared/_clone_panel.html.haml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index 48d6c97ee43..be71236c52c 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -1,4 +1,6 @@ .git-clone-holder - %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 - = text_field_tag :project_clone, default_url_to_repo, class: "one_click_select span4", readonly: true + .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 |