# HG changeset patch # User edogawaconan # Date 1392807150 -32400 # Node ID 5ca896a5ddefa5f6219bbd109731e07f714e8d42 # Parent 4f7fb63f0537e8f43dc9a59058b3cf359042ae52 Use button instead of (input) submit. diff -r 4f7fb63f0537 -r 5ca896a5ddef app/views/pastes/_form.html.erb --- 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 %> - <%= 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 %>