Sha256: 4d0cb29c73c11596970435ab22ebd12995873e175e0d5c1cf5b7c34998be3508

Contents?: true

Size: 590 Bytes

Versions: 15

Compression:

Stored size: 590 Bytes

Contents

- if Radiant::Config['forum.allow_attachments?'] && f
  - post ||= f.object
  
  .upload_stack
    %ul.attachments
      - post.attachments.each do |att|
        - f.fields_for :attachments, att do |af|
          = render :partial => 'posts/attachment', :object => att, :locals => {:af => af}
    %ul.uploads
    .selector
      - new_attachment = post.attachments.build
      - f.fields_for :attachments, new_attachment do |naf|
        = render :partial => 'posts/new_attachment', :object => new_attachment, :locals => {:naf => naf}
      .addfile
        = link_to t('attach_file'), "#"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
radiant-forum-extension-2.1.6 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.1.4 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.1.3 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.1.2 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.1.1 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.9 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.8 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.7 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.6 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.5 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.4 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.3 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.2 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.1 app/views/posts/_uploader.html.haml
radiant-forum-extension-2.0.0 app/views/posts/_uploader.html.haml