<% throw_content :for_sidebar do -%> Back to <%= @album.name -%>
<% end -%> <%= error_messages_for :album %> <% form_for :album, :action => url(:album, :id => @album.name.gsub(/ /, '_')) do %> <%= partial :album_form %>

<%= submit 'Update' %>

<% end -%>