2009-06-03 22:12:11 +02:00
|
|
|
<h1>Edit collection</h1>
|
|
|
|
|
|
|
|
<% form_for @collection do |f| %>
|
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "form", :object => f %>
|
|
|
|
<%= f.submit "Update" %>
|
|
|
|
<% end %>
|
|
|
|
|
2009-06-18 15:38:37 +02:00
|
|
|
<% content_for :action_links do %>
|
2009-08-03 16:29:40 +02:00
|
|
|
<%= link_to("Delete this collection", { :action => "destroy", :id => @collection },
|
2009-06-03 22:12:11 +02:00
|
|
|
:confirm => "Are you sure you want to delete this collection?",
|
|
|
|
:method => :delete) %>
|
2009-06-18 15:38:37 +02:00
|
|
|
<% end %>
|