% throw_content :for_sidebar do -%>
<% if @photo.album -%> Back to <%= @photo.album.name -%>
<% end %>
<% end -%>
<%= error_messages_for :photo %>
<%= form_for :photo, :action => url(:photo), :multipart => true, :onsubmit => "$('indicator').style.display = 'inline';" do %>
<%= submit 'Create' %>
<% end =%>