app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb in decidim-proposals-0.10.1 vs app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb in decidim-proposals-0.11.0.pre1
- old
+ new
@@ -1,12 +1,12 @@
<div class="flex--cc flex-gap--1">
<%= bulk_actions_dropdown %>
<div id="js-other-actions-wrapper">
- <%= link_to t("actions.import", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposals_import_path, class: 'button tiny button--simple' if can? :manage, current_feature %>
+ <%= link_to t("actions.import", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposals_import_path, class: "button tiny button--simple" if can? :manage, current_component %>
<% if can? :create, Decidim::Proposals::Proposal %>
- <%= link_to t("actions.new", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposal_path, class: 'button tiny button--simple' if can? :manage, current_feature %>
+ <%= link_to t("actions.new", scope: "decidim.proposals", name: t("models.proposal.name", scope: "decidim.proposals.admin")), new_proposal_path, class: "button tiny button--simple" if can? :manage, current_component %>
<% end %>
<%= export_dropdown %>
</div>