app/views/decidim/system/admins/show.html.erb in decidim-system-0.27.4 vs app/views/decidim/system/admins/show.html.erb in decidim-system-0.27.5
- old
+ new
@@ -2,8 +2,8 @@
<h2><%= link_to @admin.email, @admin %></h2>
<% end %>
<div class="actions">
<hr>
- <%= link_to "Edit", ["edit", @admin] %>
- <%= link_to "Destroy", @admin, method: :delete, class: "alert button", data: { confirm: "Are you sure you want to do this?" } %>
+ <%= link_to t(".edit"), ["edit", @admin] %>
+ <%= link_to t(".destroy"), @admin, method: :delete, class: "alert button", data: { confirm: "Are you sure you want to do this?" } %>
</div>