Sha256: ccdfdc96c86ea0548a9f22454409b496a9d228917a89d6014d82f5b4260e7b32

Contents?: true

Size: 864 Bytes

Versions: 4

Compression:

Stored size: 864 Bytes

Contents

<%= f.fields_for @page.album_page do |album_page_form| %>
    <%= album_page_form.label :album_id,  t('.join_page_with_album')  %>
    <%= album_page_form.grouped_collection_select( :album_id, Refinery::PhotoGallery::Collection.includes(:albums).all, :albums, :title, :id, :title,
                                                   { :include_blank => true},
                                                   { :data => {
                                                                :placeholder=> t('.choose_album')},
                                                                :multiple=> false,
                                                                :class=> "chzn-select-deselect",
                                                                :style=>"min-width: 300px;"
                                                   }) %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-photo-gallery-0.2.0 app/views/refinery/admin/pages/tabs/_form.html.erb
refinerycms-photo-gallery-0.1.2 app/views/refinery/admin/pages/tabs/_form.html.erb
refinerycms-photo-gallery-0.1.1 app/views/refinery/admin/pages/tabs/_form.html.erb
refinerycms-photo-gallery-0.1.0 app/views/refinery/admin/pages/tabs/_form.html.erb