Sha256: f247f4c519e9972f2d6fbb17e1ec7b82f12bbd56cf78743be980389a30e3a929
Contents?: true
Size: 809 Bytes
Versions: 11
Compression:
Stored size: 809 Bytes
Contents
.tit-form = t 'redditor.title.slider' = image_tag 'redditor/add_slider_big.png' = redditor_validate f .condom{style: "margin:5px 0; height:1px; background:#ccc;"} - unless f.object.new_record? %ul.slider-block-images{data: {"sortable-url" => redditor.sort_admin_page_slider_block_images_path(f.object.page_id, f.object.id)}} = render partial: "redditor/admin/pages/slider_block_image", collection: f.object.images, :as => :i .condom{style: "margin:5px 0; height:1px; background:#ccc;"} - unless f.object.new_record? .b-button.js-fileapi-wrapper .b-button__text= t("redditor.add.upload_images") = file_field_tag :src, :class => "b-button__input js-fileapi", name: nil, :multiple => true, data: {"upload-url" => redditor.admin_page_slider_block_images_path(f.object.page_id, f.object.id)}
Version data entries
11 entries across 11 versions & 1 rubygems