changeset 306:5ca896a5ddef

Use button instead of (input) submit.
author edogawaconan <me@myconan.net>
date Wed, 19 Feb 2014 19:52:30 +0900
parents 4f7fb63f0537
children 1a409564ffad
files app/views/pastes/_form.html.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/pastes/_form.html.erb	Wed Feb 19 13:15:02 2014 +0900
+++ b/app/views/pastes/_form.html.erb	Wed Feb 19 19:52:30 2014 +0900
@@ -16,6 +16,6 @@
       Private
     <% end %>
   </div>
-  <%= f.submit :class => 'btn btn-primary' %>
+  <%= f.button :class => 'btn btn-primary' %>
   <%= link_to 'Clear', root_path, :class => 'btn btn-danger', :id => 'reset_paste' %>
 <% end %>