Sha256: 63a5252703e3778cd5479c3ea6b200400214ff76a73fa9577b448cb32b432c31
Contents?: true
Size: 1.08 KB
Versions: 8
Compression:
Stored size: 1.08 KB
Contents
- content_for :stylesheets do = stylesheet_link_tag 'colorbox/colorbox' - content_for :javascripts do = javascript_include_tag 'admix/photos' = javascript_include_tag 'jquery.livequery' = javascript_include_tag 'colorbox/jquery.colorbox-min' :coffeescript $ -> $('.colorbox').livequery -> $(@).colorbox(); %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#files.thumbnails{'data-url' => admix_album_photos_path(defined?(parent) ? parent : resource, format: :json)}
Version data entries
8 entries across 8 versions & 2 rubygems