app/views/decidim/admin/components/index.html.erb in decidim-admin-0.28.2 vs app/views/decidim/admin/components/index.html.erb in decidim-admin-0.28.3
- old
+ new
@@ -12,11 +12,15 @@
<%= icon "arrow-down-s-line", class: "dropdown-filter-icon" %>
</button>
<div class="dropdown-pane" id="add-component-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true">
<ul class="vertical menu add-components font-normal">
<% @manifests.each do |manifest| %>
- <li><%= link_to t("#{manifest.name}.name", scope: "decidim.components"), new_component_path(type: manifest.name), class: manifest.name %></li>
+ <%= link_to new_component_path(type: manifest.name), class: manifest.name do %>
+ <li>
+ <%= t("#{manifest.name}.name", scope: "decidim.components") %>
+ </li>
<% end %>
+ <% end %>
</ul>
</div>
</div>
<% end %>
</h1>