Commit c2c41fb2 authored by Robert Schilling's avatar Robert Schilling

Merge pull request #7864 from cirosantilli/rm-default-type-submit

Remove type submit from button_tag since default.
parents 9345ca33 0cdef83d
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
= form_tag admin_users_path, method: :get, class: 'form-inline' do = form_tag admin_users_path, method: :get, class: 'form-inline' do
.form-group .form-group
= search_field_tag :name, params[:name], placeholder: 'Name, email or username', class: 'form-control' = 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 %i.icon-search
%hr %hr
= link_to 'Reset', admin_users_path, class: "btn btn-cancel" = link_to 'Reset', admin_users_path, class: "btn btn-cancel"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
.controls .controls
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline network-form' do |f| = 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' = 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 %i.icon-search
.inline.prepend-left-20 .inline.prepend-left-20
.checkbox.light .checkbox.light
......
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