diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-05-01 15:21:42 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-05-01 15:21:42 -0400 |
commit | 521eae01be1ca3f69b47b3170a0548c3268f4a22 (patch) | |
tree | 84e15c59b334c3ce47fdd330512fec2ff074f774 /app/views/layouts/application.html.erb | |
parent | 5ce55c00ac72bc6fbdd095d7ee697cfa35ea8cc4 (diff) |
Make the form submit helpers use <button>, which can be styled better
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r-- | app/views/layouts/application.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 28ec6f7..1b83e53 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -51,7 +51,7 @@ <% end %> <%= form_tag("/search", method: :get, :id => "search") do %><div> <%= text_field_tag(:query, params[:query], type: :search) %> - <button type="submit">Search</button> + <%= submit_tag "Search" %> </div><% end %> </div> </div> |