Sha256: 3c5425bf8a1ab7dd64fb4f86a1606c022cd92b9546720120fa6d1329248299a8

Contents?: true

Size: 497 Bytes

Versions: 3

Compression:

Stored size: 497 Bytes

Contents

-# locals:
-#  - attachments
-#  - parent

- attachments = attachments.sort_by { |attachment| attachment.created_at }.reverse

%h1.attachments.documents= t :documents
%div
  %table.attachments.documents
    - attachments.each do |attachment|
      = render attachment

  - if @blog_entries.present? and parent.kind_of?(Page) and can?(:create_attachment_for, parent)
    %p.show_only_in_edit_mode
      Um eine Datei hochzuladen, bitte zur Seite
      = link_to parent.title, parent
      wechseln.

Version data entries

3 entries across 3 versions & 1 rubygems

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