Sha256: 51ec706b4ff5c95b6c86b243bf5e17ced8e1762093287ce53610f4b9b83d88d7
Contents?: true
Size: 1006 Bytes
Versions: 4
Compression:
Stored size: 1006 Bytes
Contents
<span class="exports button button__sm button__secondary" data-toggle="<%= dropdown_id(collection_ids) %>"> <% if collection_ids.present? %> <%= t("actions.export-selection", scope: "decidim.admin") %> <% else %> <%= t("actions.export", scope: "decidim.admin") %> <% end %> <%= icon "arrow-down-s-line", class: "dropdown-filter-icon" %> </span> <div class="dropdown-pane" id="<%= dropdown_id(collection_ids) %>" data-dropdown data-position=bottom data-alignment=right data-auto-focus="true" data-close-on-click="true"> <ul class="vertical menu add-components"> <% %w(CSV JSON).each do |format| %> <%= link_to export_initiatives_path(format:, collection_ids:) do %> <li class="exports--format--<%= format.downcase %> exports--initiatives"> <%= t("decidim.admin.exports.export_as", name: t("decidim.initiatives.admin.exports.initiatives"), export_format: format.upcase) %> </li> <% end %> <% end %> </ul> </div>
Version data entries
4 entries across 4 versions & 1 rubygems