Sha256: c5f05f85b10edda164a2d386d5a0f120d4f1a3d1bb7ebd866c7338044c64f6c8
Contents?: true
Size: 927 Bytes
Versions: 2
Compression:
Stored size: 927 Bytes
Contents
.modal.modal-large %header = link_to "", "#", class: 'close_modal', data: {dismiss: 'modal', icon: 'm'} %h3 Afbeeldingen invoegen %section .gallery-select.gallery{data: {multiselect: true}} .item = form_for [spina, :admin, @photo], html: {multipart: true} do |f| = f.file_field :file, data: {customfileinput: true} = form_tag spina.insert_photo_collection_admin_photos_path(params[:page_part_id]), remote: true, class: 'gallery-prepend-image' do - @photos.each do |photo| .item{class: ('selected' if @selected_photos.include?(photo))} .overlay= check_box_tag 'photo_ids[]', photo.id, @selected_photos.include?(photo) = image_tag photo.file.thumb %footer = link_to "Annuleren", "#", data: {dismiss: 'modal'} = button_tag "Afbeeldingen invoegen", type: 'submit', class: 'primary', data: {icon: 't '}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spina-0.6.12 | app/views/spina/admin/photos/_photo_collection_select.html.haml |
spina-0.6.11 | app/views/spina/admin/photos/_photo_collection_select.html.haml |