app/views/decidim/meetings/admin/registrations/edit.html.erb in decidim-meetings-0.28.4 vs app/views/decidim/meetings/admin/registrations/edit.html.erb in decidim-meetings-0.29.0.rc1
- old
+ new
@@ -3,19 +3,17 @@
<h1 class="item_show__header-title">
<%= t("title", scope: "decidim.meetings.admin.registrations.form") %>
<div class="flex items-center gap-x-4 ml-auto">
<%= link_to t("invites", scope: "decidim.meetings.admin.registrations.form"), meeting_registrations_invites_path(meeting), class: "button button__sm button__secondary #{"disabled" unless allowed_to? :read_invites, :meeting, meeting: meeting}" %>
<% if allowed_to? :export_registrations, :meeting, meeting: meeting %>
- <span class="exports tiny button button__sm button__secondary button--simple button--title" data-toggle="export-dropdown">
+ <span class="exports button button__sm button__secondary button--title" data-toggle="export-dropdown">
<%= t "actions.export", scope: "decidim.admin" %>
<%= 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| %>
- <%= 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 %>
+ <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>
<% 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" %>