diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-09-27 11:34:10 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-09-27 11:34:10 +0200 |
commit | c2c41fb2d3b6b5934ff26cec77c15f6c45351018 (patch) | |
tree | 3a45d057097b2efb6ddad539233fc521590fed59 | |
parent | 9345ca33b112ba0155205b035030ea390e519349 (diff) | |
parent | 0cdef83dc8cfb96c17718d6dd1a2438dc9cea24f (diff) | |
download | gitlab-ce-c2c41fb2d3b6b5934ff26cec77c15f6c45351018.tar.gz |
Merge pull request #7864 from cirosantilli/rm-default-type-submit
Remove type submit from button_tag since default.
-rw-r--r-- | app/views/admin/users/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/network/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index b8a18224443..f2fa5ea91c1 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -22,7 +22,7 @@ = form_tag admin_users_path, method: :get, class: 'form-inline' do .form-group = search_field_tag :name, params[:name], placeholder: 'Name, email or username', class: 'form-control' - = button_tag type: 'submit', class: 'btn btn-primary' do + = button_tag class: 'btn btn-primary' do %i.icon-search %hr = link_to 'Reset', admin_users_path, class: "btn btn-cancel" diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml index f8206936e6e..52a66f64d9f 100644 --- a/app/views/projects/network/show.html.haml +++ b/app/views/projects/network/show.html.haml @@ -3,7 +3,7 @@ .controls = form_tag project_network_path(@project, @id), method: :get, class: 'form-inline network-form' do |f| = text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: 'search-input form-control input-mx-250 search-sha' - = button_tag type: 'submit', class: 'btn btn-success btn-search-sha' do + = button_tag class: 'btn btn-success btn-search-sha' do %i.icon-search .inline.prepend-left-20 .checkbox.light |