photomix/app/views/photos/untouched.html.erb
Alexander Negoda e59d11e1c9 big update
2012-07-25 01:26:16 +04:00

12 lines
No EOL
506 B
Text

<%= form_for :photos, :url => update_multiple_photos_path, :html => {:method => :put} do |f| %>
<% for photo in @photos %>
<p>
<%= f.fields_for photo do |p| %>
<%= render :partial => "photos/thumb", :locals => {:photo => photo} %>
<%= p.text_field :title, :index => photo.id %>
<%= p.text_field :tags, :index => photo.id, :value => photo.tag_list %>
<% end %>
</p>
<% end %>
<p><%= f.submit "Submit" %></p>
<% end %>