Sha256: 003b925242f4f8239ed7450a1c44384852a4c171d5f4fbd830a381be0bad352a
Contents?: true
Size: 924 Bytes
Versions: 3
Compression:
Stored size: 924 Bytes
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 parent.photos #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