app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb in decidim-proposals-0.29.0.rc2 vs app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb in decidim-proposals-0.29.0.rc3
- old
+ new
@@ -8,16 +8,20 @@
<%= export_dropdowns(query) %>
<% end %>
<% if allowed_to? :import, :proposals %>
<%= import_dropdown do %>
- <li class="imports--component imports--proposals">
- <%= link_to t("actions.import", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposals_import_path %>
- </li>
- <% current_component.manifest.import_manifests.each do |import_manifest| %>
- <li class="imports--file imports--<%= import_manifest.name %>">
- <%= link_to import_manifest.message(:label, self), admin_imports_path(current_component, name: import_manifest.name) %>
+ <%= link_to new_proposals_import_path do %>
+ <li class="imports--component imports--proposals">
+ <%= t("actions.import", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")) %>
</li>
+ <% current_component.manifest.import_manifests.each do |import_manifest| %>
+ <%= link_to admin_imports_path(current_component, name: import_manifest.name) do %>
+ <li class="imports--file imports--<%= import_manifest.name %>">
+ <%= import_manifest.message(:label, self) %>
+ </li>
+ <% end %>
+ <% end %>
<% end %>
<% end %>
<% end %>
<% if allowed_to? :create, :proposal %>