Sha256: 8f9b4e67feff20f575775a78fb188eb0c79969b5dd27871dc229ed90450b4aa7

Contents?: true

Size: 511 Bytes

Versions: 3

Compression:

Stored size: 511 Bytes

Contents

.picture-info
  .picture-title
    - if can? :destroy, attachment
      = remove_button(attachment)
    = best_in_place_if can?(:update, attachment), attachment, :title, nil: 'Hier klicken, um einen Bild-Titel zu vergeben.'
  .picture-description
    = best_in_place_if can?(:update, attachment), attachment, :description, nil: 'Hier klicken, um eine Bild-Beschreibung einzugeben.'
  .picture-author
    ©
    = attachment.created_at.year.to_s + ","
    = link_to attachment.author.title, attachment.author

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/views/attachments/_description.html.haml
your_platform-1.0.0 app/views/attachments/_description.html.haml
your_platform-0.0.2 app/views/attachments/_description.html.haml