Sha256: a3df0ce89784db02831babcd089b186670d745791b13239b144a895ff606dfad

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

Stored size: 429 Bytes

Contents

#attachments
  .toolbar
    = image_tag('admin/plus.png', :alt => 'add')
    = hidden_field_tag('attachment_index', @page.attachments.size, :id => 'attachment_index_field')
  %h3
    Attachments (
    %span#attachment_count>= @page.attachments.count
    )
  - unless @page.attachments.count.zero?
    %ol#attachment_list
      = render :partial => 'attachment', :collection => @page.attachments
    %div{:style => "clear:both;"}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-page_attachments-extension-1.0.2 app/views/admin/pages/_attachments_box.html.haml
radiant-page_attachments-extension-1.0.0 app/views/admin/pages/_attachments_box.html.haml