photomix/app/views/collections/edit.html.erb

13 lines
395 B
Plaintext
Raw Normal View History

2009-06-03 22:12:11 +02:00
<h1>Edit collection</h1>
2010-09-17 18:52:59 +02:00
<%= form_for @collection do |f| %>
2009-06-03 22:12:11 +02:00
<%= f.error_messages %>
<%= render :partial => "form", :object => f %>
<%= f.submit "Update" %>
<% end %>
2011-04-25 07:54:40 +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 %>