Sha256: 90f650ac2c7cf906b6dd58e514990979de51afbe261aa85aff1a05cde8e9fb07

Contents?: true

Size: 367 Bytes

Versions: 24

Compression:

Stored size: 367 Bytes

Contents

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.6 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.5 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.4 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.3 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.2 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.1 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.0 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.0.rc4 app/views/posts/_attachment.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.1.6 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.1.4 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.1.3 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.1.2 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.1.1 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.0.9 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.0.8 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.0.7 app/views/posts/_attachment.html.haml
radiant-forum-extension-2.0.6 app/views/posts/_attachment.html.haml