diff --git a/decidim-proposals/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb b/decidim-proposals/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb index acc9af71d1c5..f62e484bf15f 100644 --- a/decidim-proposals/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb +++ b/decidim-proposals/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb @@ -11,17 +11,10 @@ <% end %> -
-
- - <%= t("decidim.participatory_spaces.highlighted_proposals.last") %> - - - <% proposals_to_render.each do |p| %> - <%= card_for p, link_whole_card: true, title_tag: :h3, **options.slice(:show_space) %> - <% end %> -
- +
+ + <%= t("decidim.participatory_spaces.highlighted_proposals.last") %> + <% if single_component? %> <%= link_to decidim_proposals.new_proposal_path, class: "button button__sm md:button__lg button__secondary" do %> <%= t("decidim.proposals.actions.new") %> @@ -29,3 +22,10 @@ <% end %> <% end %>
+
+
+ <% proposals_to_render.each do |p| %> + <%= card_for p, link_whole_card: true, title_tag: :h3, **options.slice(:show_space) %> + <% end %> +
+