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

13 lines
373 B
Plaintext
Raw Normal View History

2009-05-22 21:04:41 +02:00
<h1>Edit Album</h1>
<% form_for @album do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :object => f %>
<%= f.submit "Update" %>
<% end %>
2009-06-02 00:08:57 +02:00
<br /><%= link_to("Delete album", { :action => "destroy", :id => @album },
:confirm => "Are you sure you want to delete this album?",
:method => :delete) %>
2009-05-22 21:04:41 +02:00
<br /><%= link_to "All albums", albums_path %>