app/views/decidim/admin/exports/_dropdown.html.erb in decidim-admin-0.28.4 vs app/views/decidim/admin/exports/_dropdown.html.erb in decidim-admin-0.29.0.rc1
- old
+ new
@@ -1,6 +1,6 @@
-<span class="exports button button__sm button__secondary button--simple" data-toggle="<%= dropdown_id(filters) %>">
+<span class="exports button button__sm button__secondary" data-toggle="<%= dropdown_id(filters) %>">
<% if filters.present? %>
<%= t("actions.export-selection", scope: "decidim.admin") %>
<% else %>
<%= t("actions.export", scope: "decidim.admin") %>
<% end %>
@@ -8,14 +8,14 @@
</span>
<div class="dropdown-pane" id="<%= dropdown_id(filters) %>" data-dropdown data-position=bottom data-alignment=right data-auto-focus="true" data-close-on-click="true">
<ul class="vertical menu add-components">
<% component.manifest.export_manifests.each do |manifest| %>
<% manifest.formats.each do |format| %>
- <%= link_to exports_path(component, id: manifest.name, format:, resource_id:, filters:), method: :post do %>
- <li class="exports--format--<%= format.downcase %> exports--<%= manifest.name %>">
- <%= t("decidim.admin.exports.export_as", name: t("decidim.#{component.manifest.name}.admin.exports.#{manifest.name}"), export_format: t("decidim.admin.exports.formats.#{format}")) %>
- </li>
- <% end %>
+ <li class="exports--format--<%= format.downcase %> exports--<%= manifest.name %>">
+ <%= link_to t("decidim.admin.exports.export_as", name: t("decidim.#{component.manifest.name}.admin.exports.#{manifest.name}"), export_format: t("decidim.admin.exports.formats.#{format}")),
+ exports_path(component, id: manifest.name, format:, resource_id:, filters:),
+ method: :post %>
+ </li>
<% end %>
<% end %>
</ul>
</div>