Sha256: b018b5a6bea3f8dcde8df7e191be4aedc652b00ce0e9481c1debbc7419655d19
Contents?: true
Size: 1.01 KB
Versions: 10
Compression:
Stored size: 1.01 KB
Contents
<% unless attachment_collection.unused? %> <div class="docs__container"> <span data-toggle="docs-collection-<%= attachment_collection.id %>"><%= icon "caret-right", class: "icon--small", role: "img", "aria-hidden": true %> <strong><%= translated_attribute(attachment_collection.name) %></strong> <% attachment_collection_documents_count = attachment_collection.attachments.select(&:document?).count %> <small>(<%= attachment_collection_documents_count %> <%= t("decidim.application.collection.documents", count: attachment_collection_documents_count) %>)</small> </span> <div id="docs-collection-<%= attachment_collection.id %>" class="docs__content hide" data-toggler=".hide"> <p><%= translated_attribute(attachment_collection.description) %></p> <div class="card card--list"> <% documents.each do |document| %> <%= render partial: "decidim/application/document.html", locals: { document: document } %> <% end %> </div> </div> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems