Sha256: 94e40b1f2dce488a5e21dfccc6e4cd607857627a20ca5a2f15d9c7caf158acea

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

- af ||= false
%li
  - if attachment.image?
    = link_to image_tag(attachment.thumbnail), attachment.file.url
  - else
    = link_to attachment.filename, attachment.file.url, :class => "attachment #{attachment.extension}"
  - if af
    = af.check_box :_destroy, :class => 'checkbox'
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.1 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.0.0 app/views/posts/_attachment.html.haml
radiant-forum-extension-1.2.1 app/views/posts/_attachment.html.haml