Method: FileAttachmentsHelper#description_display
- Defined in:
- app/helpers/file_attachments_helper.rb
#description_display(file_attachment) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/helpers/file_attachments_helper.rb', line 3 def description_display() return unless (:read, ) content_tag :p, { :id => "file_attachment_#{.id}_description", :class => 'file_attachment_description' } do .description end end |