Sha256: 454cafd3406d0eff10846542743da874d1563bfbfd49eec5b69337a97a384c44
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
- unless parent.new_record? =content_for(:page_sidebar) do %h5 Фотографии - if editable ||= false = link_to "ред.", [:admin,parent] .product-photos %ul.photos#photo-list = render :partial => "admin/photos/photo", :collection => eval("parent.#{photos.to_s}"), :as => :photo, :locals => {:parent => parent} #preview #drag-n-drop{:style => "display: none; margin-top: 5px;"} #drop-zone.b-dropzone{style: 'height: 100px;', data: {"upload-url" => url_for([:admin, parent, :photos])}} .b-dropzone__bg .b-dropzone__txt Перетащите файлы сюда #buttons-panel{style: 'margin-bottom: 10px;'} .b-button.js-fileapi-wrapper .b-button__text Загрузить файлы %input.b-button__input.js-fileapi{:name => "files", :type => "file", :multiple => true, data: {"upload-url" => url_for([:admin, parent, :photos])}} = photo_sortable url_for([:sort,:admin,parent,photos])
Version data entries
3 entries across 3 versions & 1 rubygems