Sha256: 9d751fab038f35234d25055fd757945113b97ff4cda67bc631685baa48acd040

Contents?: true

Size: 860 Bytes

Versions: 1

Compression:

Stored size: 860 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=>"width: 300px;"
                                                   }) %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-photo-gallery-0.3.0 app/views/refinery/admin/pages/tabs/_form.html.erb