diff app/views/pastes/show.html.erb @ 307:1a409564ffad

Use button (again).
author edogawaconan <me@myconan.net>
date Wed, 19 Feb 2014 19:53:42 +0900
parents c8757469da39
children 45bf99bfd48b
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb	Wed Feb 19 19:52:30 2014 +0900
+++ b/app/views/pastes/show.html.erb	Wed Feb 19 19:53:42 2014 +0900
@@ -36,7 +36,7 @@
     <div class="input-group">
       <%= f.text_field :key, :value => nil, :placeholder => 'Deletion key', :class => "form-control", :autofocus => f.object.errors.any? %>
       <span class="input-group-btn">
-        <%= f.submit 'Delete this paste', :class => 'btn btn-danger' %>
+        <%= f.button 'Delete this paste', :class => 'btn btn-danger' %>
       </span>
     </div>
   </div></div>