Revision 2a4e5c89
Added by Marc Dequènes over 14 years ago
- ID 2a4e5c8923d2697e74e5d2c02e556370e5ae90b0
app/views/admin/artworks/_form.rhtml | ||
---|---|---|
render(:partial => 'admin/artwork_sizes/selector', :locals => {:form_object => resource_name, :form_field => "artwork_size_id", :selected => selected_artwork_size_id})
|
||
cat.field :artwork_material_ids, _("Materials:"), :collection_select, @artwork_materials, :id, :name, {:include_blank => true}, {:multiple => true, :size => [@artwork_materials.size + 1, 10].min}
|
||
cat.field :artwork_support_ids, _("Supports"), :collection_select, @artwork_supports, :id, :name, {:include_blank => true}, {:multiple => true, :size => [@artwork_supports.size + 1, 10].min}
|
||
cat.field :tag_ids, _("Tags"), :collection_select, @tags, :id, :name, {:include_blank => true}, {:multiple => true, :size => [@tags.size + 1, 20].min}
|
||
end
|
||
table.category _("Result") do |cat|
|
||
cat.field :artwork_condition_id, _("Condition:"), :collection_select, @artwork_conditions, :id, :name
|
Also available in: Unified diff
[evol] added tags and fixes a few typos