|
<blockquote>
|
|
<%= _("You asked to associate this selection of Artworks:") %> <%= display_list(@selection.collect{|t| t.full_title}, true) %>
|
|
<%= _("with tags; pick your selection in the list of existing tags:") %>
|
|
<% form_tag( :action => @action ) do %>
|
|
<% @selection.each do |artwork| %>
|
|
<%= hidden_field_tag 'artworks_selection_ids[]', artwork.id %>
|
|
<% end %>
|
|
<blockquote>
|
|
<% Tag.find(:all, :order => "name ASC").each do |tag| %>
|
|
<%= check_box_tag 'tags_selection_ids[]', tag.id %><%= label_tag "tags_selection_ids_#{tag.id}", tag.name %><br />
|
|
<% end %>
|
|
</blockquote>
|
|
<%= submit_tag _("Associate") %>
|
|
<% end %>
|
|
</blockquote>
|