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

13 lines
402 B
Plaintext
Raw Normal View History

<% form_for :photos, :url => update_multiple_photos_path, :html => { :method => :put } do |f| %>
<% for photo in @photos %>
<p>
<% f.fields_for photo do |p|%>
<%= 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 %>
2009-06-09 00:30:22 +02:00
<br /><%= link_to "Back to #{@album.title}", @album %>