12 lines
397 B
Plaintext
12 lines
397 B
Plaintext
<% 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 -%> |