changeset 307:1a409564ffad

Use button (again).
author edogawaconan <me@myconan.net>
date Wed, 19 Feb 2014 19:53:42 +0900
parents 5ca896a5ddef
children e855e58d137e
files app/views/pastes/show.html.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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>