Project

General

Profile

Download (610 Bytes) Statistics
| Branch: | Tag: | Revision:
<%
standard_sizes = options_from_collection_for_select ArtworkSize.find(:all, :order => "height ASC, width ASC", :conditions => {:standard => true}), :id, :human_size, selected
custom_sizes = options_from_collection_for_select ArtworkSize.find(:all, :order => "height ASC, width ASC", :conditions => {:standard => false}), :id, :human_size, selected

sizes_choice = title_option(_("== Standard Sizes ==")) + standard_sizes + title_option(_("== Custom Sizes ==")) + custom_sizes
%>
<select id="<%= form_object %>_<%= form_field %>" name="<%= form_object %>[<%= form_field%>]"><%= sizes_choice %></select>
(2-2/6)