diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-16 01:53:50 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-16 20:33:48 +0300 |
commit | 09b4e11d26d056ed2489baff65f319fc33143570 (patch) | |
tree | 820332eea7d27e427ee0d9995a7c890e598416c7 /app/views/shared/_clone_panel.html.haml | |
parent | e3c1818a3e57fc1aee3cacc3123099f1deefe8a2 (diff) |
Bootlint: Add missing `type` attribute for buttons
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r-- | app/views/shared/_clone_panel.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index 3f489a04e71..6de2aed29ed 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -3,6 +3,7 @@ .input-group-addon.git-protocols .input-group-btn %button{ | + type: 'button', | class: "btn btn-sm #{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }", | :"data-clone" => project.ssh_url_to_repo, | :"data-title" => "Add an SSH key to your profile<br> to pull or push via SSH", @@ -11,6 +12,7 @@ SSH .input-group-btn %button{ | + type: 'button', | class: "btn btn-sm #{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }", | :"data-clone" => project.http_url_to_repo, | :"data-title" => "Set a password on your account<br> to pull or push via #{gitlab_config.protocol.upcase}", |