comparison 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
comparison
equal deleted inserted replaced
306:5ca896a5ddef 307:1a409564ffad
34 34
35 <div class="row"><div class="col-md-4"> 35 <div class="row"><div class="col-md-4">
36 <div class="input-group"> 36 <div class="input-group">
37 <%= f.text_field :key, :value => nil, :placeholder => 'Deletion key', :class => "form-control", :autofocus => f.object.errors.any? %> 37 <%= f.text_field :key, :value => nil, :placeholder => 'Deletion key', :class => "form-control", :autofocus => f.object.errors.any? %>
38 <span class="input-group-btn"> 38 <span class="input-group-btn">
39 <%= f.submit 'Delete this paste', :class => 'btn btn-danger' %> 39 <%= f.button 'Delete this paste', :class => 'btn btn-danger' %>
40 </span> 40 </span>
41 </div> 41 </div>
42 </div></div> 42 </div></div>
43 <% end %> 43 <% end %>
44 44