<%= render 'nav' %>
<% @good.photos.each do |photo| %> <%= image_tag photo.photo.small %> <% end %> <%= form_for @photo, :url => pic_admin_good_path(params[:id]), :html => { :class => 'ui form', :multipart => true } do |f| %> <%= render :partial => 'admin/photos/form', :locals => { :f => f } %> <% end %>