photomix/app/views/photos/untouched.html.erb

12 lines
421 B
Plaintext
Raw Normal View History

2010-09-17 18:52:59 +02:00
<%= form_for :photos, :url => update_multiple_photos_path, :html => { :method => :put } do |f| %>
<% for photo in @photos %>
<p>
2010-09-17 18:53:40 +02:00
<%= 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 %>