diff app/views/pastes/_form.html.erb @ 306:5ca896a5ddef

Use button instead of (input) submit.
author edogawaconan <me@myconan.net>
date Wed, 19 Feb 2014 19:52:30 +0900
parents dff632a63ada
children 2ad092e60975
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 %>