photomix/app/views/collections/_form.html.erb
2009-06-12 01:04:57 +02:00

11 lines
410 B
Plaintext

<%= form.label :title, :Title, {:class => 'big'} %><br />
<%= form.text_field :title, {:class => 'big'} %><br />
<%= form.label :description %><br />
<%= form.text_area :description %><br />
<%= form.label :album %><br />
<%= collection_select :collection, :album_list, Album.find(:all), :id, :title, {:selected => @collection.albums.map{|album|album.id} }, {:multiple => true, :rows => 10} %><br />
<br />