Commit 09b4e11d authored by Robert Speicher's avatar Robert Speicher

Bootlint: Add missing `type` attribute for buttons

parent e3c1818a
......@@ -5,7 +5,7 @@
= brand_header_logo
%h3 GitLab
.header-content
%button.navbar-toggle
%button.navbar-toggle{type: 'button'}
%span.sr-only Toggle navigation
= icon('bars')
......
......@@ -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}",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment