app/views/decidim/system/devise/passwords/edit.html.erb in decidim-system-0.27.4 vs app/views/decidim/system/devise/passwords/edit.html.erb in decidim-system-0.27.5
- old
+ new
@@ -1,13 +1,13 @@
-<h2>Change your password</h2>
+<h2> <%= link_to t(".change_your_password") %></h2>
<%= decidim_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<%= f.hidden_field :reset_password_token %>
<div class="field">
<% if @minimum_password_length %>
- <em>(<%= @minimum_password_length %> characters minimum)</em><br>
+ <em><%= t(".minimum_characters", minimum: @minimum_password_length) %></em><br>
<% end %>
<%= f.password_field :password, autofocus: true, autocomplete: "off" %>
</div>
<div class="field">