Sha256: 6bb27964340c5ca882bc1a284193fe1b0045aa377a1354925787a52606ca567c

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

.gallery-container
  .gallery
    .item
      = form_for [spina, :admin, @photo], html: {multipart: true} do |f|
        = hidden_field_tag :media_library, value: true
        = f.label :file, t('spina.photos.upload_image')
        = f.file_field :file, data: {customfileinput: true}

    .gallery-prepend-image
      .infinite-scroll
        = render partial: 'spina/admin/photos/photo', collection: @photos

      .infinite-pagination= link_to_next_page @photos, 'Next', remote: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spina-0.10.0 app/views/spina/admin/photos/index.html.haml