Sha256: 69d3c2da2060c2e15907bc7d01e7d3759f1520a928ea58c7d442702596ef77d4

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

- unless @page.assets.empty?
  - @page.page_attachments.each do |attachment|
    = render :partial => 'admin/assets/asset', :locals => { :attachment => attachment }
- else
  %li
    %p.note
      = t("paperclipped.no_attached_assets")
    
%script{ :type => "text/javascript" }
  Asset.MakeDraggables();

= sortable_element 'attachments', :url => reorder_assets_url(@page), :constraint => 'horizontal', :handle => 'reorder', :ghosting => false, :complete => visual_effect(:highlight, 'assets')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-paperclipped-extension-0.8.1 app/views/admin/assets/_page_assets.html.haml