app/views/decidim/admin/attachments/index.html.erb in decidim-admin-0.10.1 vs app/views/decidim/admin/attachments/index.html.erb in decidim-admin-0.11.0.pre1
- old
+ new
@@ -1,10 +1,10 @@
<div class='card' id="attachments">
<div class="card-divider">
<h2 class="card-title">
<%= t(".attachments_title") %>
<% if can? :create, authorization_object %>
- <%= 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.new", scope: "decidim.admin", name: t("models.attachment.name", scope: "decidim.admin")), url_for(action: :new), class: "button tiny button--title new" %>
<% end %>
</h2>
</div>
<div class="card-section">