app/views/grandstand/posts/delete.html.erb in grandstand-0.2.7 vs app/views/grandstand/posts/delete.html.erb in grandstand-0.3.0
- old
+ new
@@ -1,9 +1,8 @@
-<%= render :partial => 'left' %>
<h2>Are you sure you want to do this?</h2>
<% form_for(@post, :as => :post, :html => {:method => :delete}, :url => grandstand_post_path(@post)) do %>
<div class="field">You cannot undo this once it's done! This post, and all the creative ideas therein, will be gone forever.</div>
<div class="toolbar">
- <%= button('Delete') %>
+ <%= button 'Delete', :default => true %>
<%= button_link_to('Cancel', grandstand_posts_path, :class => 'cancel') %>
</div>
<% end %>