app/views/decidim/admin/exports/_dropdown.html.erb in decidim-admin-0.29.0.rc2 vs app/views/decidim/admin/exports/_dropdown.html.erb in decidim-admin-0.29.0.rc3
- old
+ new
@@ -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| %>
- <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>
+ <%= 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 %>
<% end %>
<% end %>
</ul>
</div>