Sha256: f41d2f648cc9b6255d9a9cdae894309a3e634c9c393eded66a838d2fc3eb58bd
Contents?: true
Size: 606 Bytes
Versions: 11
Compression:
Stored size: 606 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('forum_extension.attach_file'), "#"
Version data entries
11 entries across 11 versions & 1 rubygems