This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
tuxbliki/app/views/albums/edit.html.erb

12 lines
397 B
Plaintext
Raw Normal View History

2008-06-27 00:13:15 -04:00
<% throw_content :for_sidebar do -%>
<a href="<%= url(:album, :id => @album.name.gsub(/ /, '_')) -%>"><img src="/images/camera-photo.png" /> Back to <%= @album.name -%></a><br />
<% end -%>
<%= error_messages_for :album %>
<% form_for :album, :action => url(:album, :id => @album.name.gsub(/ /, '_')) do %>
<%= partial :album_form %>
<p>
<%= submit_button 'Update' %>
</p>
<% end -%>