Sha256: 339c871f4417a67d8c3de687c41f66092f6002f74b5b2f36703bce131d78e970

Contents?: true

Size: 666 Bytes

Versions: 7

Compression:

Stored size: 666 Bytes

Contents

.modal.modal-large
  %section
    .gallery-select.gallery
      .item.item-small.item-uploader
        = form_for [spina, :admin, @photo], html: {multipart: true} do |f|
          = f.label :file, t('spina.photos.upload_image')
          = f.file_field :file, data: {customfileinput: true}

      = form_tag spina.insert_photo_admin_photos_path(params[:page_part_id]), remote: true, class: 'gallery-prepend-image' do
        .infinite-scroll
          = render partial: 'spina/admin/photos/photo_single_picker', collection: @photos

        .infinite-pagination= link_to_next_page @photos, 'Next', params: {selected_photo_id: @selected_photo.try(:id)}, remote: true

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spina-0.9.0 app/views/spina/admin/photos/_photo_select.html.haml
spina-0.8.3 app/views/spina/admin/photos/_photo_select.html.haml
spina-0.8.2 app/views/spina/admin/photos/_photo_select.html.haml
spina-0.8.1 app/views/spina/admin/photos/_photo_select.html.haml
spina-0.8.0 app/views/spina/admin/photos/_photo_select.html.haml
spina-0.7.3 app/views/spina/admin/photos/_photo_select.html.haml
spina-0.7.2 app/views/spina/admin/photos/_photo_select.html.haml