app/views/decidim/system/devise/passwords/edit.html.erb in decidim-system-0.23.6 vs app/views/decidim/system/devise/passwords/edit.html.erb in decidim-system-0.24.0.rc1
- old
+ new
@@ -1,8 +1,8 @@
<h2>Change your password</h2>
<%= decidim_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
- <%= devise_error_messages! %>
+ <%= 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>