app/views/decidim/admin/attachments/index.html.erb in decidim-admin-0.23.6 vs app/views/decidim/admin/attachments/index.html.erb in decidim-admin-0.24.0.rc1
- old
+ new
@@ -1,10 +1,10 @@
<div class='card' id="attachments">
<div class="card-divider">
<h2 class="card-title">
<%= t(".attachments_title") %>
<% if allowed_to? :create, :attachment %>
- <%= link_to t("actions.new", scope: "decidim.admin", name: t("models.attachment.name", scope: "decidim.admin")), url_for(action: :new), class: "button tiny button--title new" %>
+ <%= link_to t("actions.attachment.new", scope: "decidim.admin"), url_for(action: :new), class: "button tiny button--title new" %>
<% end %>
</h2>
</div>
<div class="card-section">