Sha256: eae74cf8d3c9de604d8be250fd6c03998eff280f435049f44683ae6fdc541191

Contents?: true

Size: 830 Bytes

Versions: 2

Compression:

Stored size: 830 Bytes

Contents

- content_for :javascripts do
  = javascript_include_tag 'photos/upload'
  
%h3 Upload de fotos
#upload-buttons{:style => "padding: 20px;"}
  %div{:style => "display:none;"}
    %input#uploader{:multiple => "multiple", :name => "files", :style => "display:none;", :type => "file", :value => "Selecionar File(s)"}/
    %input#uploaderZip{:name => "files", :style => "display:none;", :type => "file", :value => "Selecionar File(s)"}/
  %p= t('photos.upload.explanation')
  %div
    %a.btn.btn-primary.btn-upload{:onclick => "jQuery('#uploader').click();"}= t('photos.btn.upload_pictures')
  -#
    = t('photos.or')
    %a.btn.btn-primary.btn-upload{:onclick => "jQuery('#uploaderZip').click();"}= t('photos.btn.upload_zip')

#fileZip
%ul#photos.thumbnails{'data-url' => admix_album_photos_path(defined?(parent) ? parent : resource)}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
mix-rails-0.12.2 mix-rails-albums/app/views/admix/photos/_upload.html.haml
mix-rails-albums-0.12.2 app/views/admix/photos/_upload.html.haml