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

Version Path
redditor-0.1.10 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.9 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.8 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.7 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.6 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.5 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.4 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.3 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.2 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.1 app/views/redditor/admin/pages/_slider_block.haml
redditor-0.1.0 app/views/redditor/admin/pages/_slider_block.haml