app/views/decidim/meetings/admin/registrations/edit.html.erb in decidim-meetings-0.29.0.rc2 vs app/views/decidim/meetings/admin/registrations/edit.html.erb in decidim-meetings-0.29.0.rc3
- old
+ new
@@ -10,10 +10,12 @@
<%= icon "arrow-down-s-line", class: "dropdown-filter-icon" %>
</span>
<div class="dropdown-pane" id="export-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true">
<ul class="vertical menu add-components">
<% %w(CSV JSON Excel).each do |format| %>
- <li class="exports--format--<%= format.downcase %> exports--registrations"><%= link_to t("decidim.admin.exports.export_as", name: t("decidim.#{current_component.manifest.name}.admin.exports.registrations"), export_format: format), export_meeting_registrations_path(meeting_id: meeting, format:) %></li>
+ <%= link_to export_meeting_registrations_path(meeting_id: meeting, format:) do %>
+ <li class="exports--format--<%= format.downcase %> exports--registrations"><%= t("decidim.admin.exports.export_as", name: t("decidim.#{current_component.manifest.name}.admin.exports.registrations"), export_format: format) %></li>
+ <% end %>
<% end %>
</ul>
</div>
<% end %>
<%= link_to t("registration_form" , scope: "decidim.meetings.admin.registrations.form"), edit_meeting_registrations_form_path(meeting_id: meeting.id), class: "button button__sm button__secondary" %>