app/views/decidim/admin/exports/_dropdown.html.erb in decidim-admin-0.2.0 vs app/views/decidim/admin/exports/_dropdown.html.erb in decidim-admin-0.3.0

- old
+ new

@@ -1,5 +1,5 @@ -<button class="exports dropdown tiny button button--simple" data-toggle="export-dropdown"><%= t "actions.export", scope: "decidim.admin" %></button> +<span class="exports dropdown tiny button button--simple" data-toggle="export-dropdown"><%= t "actions.export", scope: "decidim.admin" %></span> <div class="dropdown-pane" id="export-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true"> <ul class="vertical menu add-features"> <% feature.manifest.export_manifests.each do |manifest| %> <% %w{csv json}.each do |format| %> <li class="exports--format--<%= format %> exports--<%= manifest.name %>"><%= link_to t("decidim.admin.exports.export_as", name: t("decidim.#{feature.manifest.name}.admin.exports.#{manifest.name}"), export_format: format.upcase), decidim_admin.participatory_process_feature_exports_path(feature_id: feature, participatory_process_id: feature.participatory_process, format: format, id: manifest.name), method: :post %></li>