Sha256: c6ecbf0c5430970dfc002e76fc4f3b810ca1ba7f91531e50ed3464a5c199ad9b
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
Contents
<span class="exports button button__sm button__secondary button--simple" 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| %> <li class="exports--format--<%= format.downcase %> exports--initiatives"> <%= link_to t("decidim.admin.exports.export_as", name: t("decidim.initiatives.admin.exports.initiatives"), export_format: format.upcase), export_initiatives_path(format:, collection_ids:) %> </li> <% end %> </ul> </div>
Version data entries
5 entries across 5 versions & 1 rubygems