app/views/devise/passwords/edit.html.erb in devise-i18n-1.7.2 vs app/views/devise/passwords/edit.html.erb in devise-i18n-1.8.0
- old
+ new
@@ -1,8 +1,8 @@
<h2><%= t('.change_your_password') %></h2>
<%= 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">
<%= f.label :password, t('.new_password') %><br />
<% if @minimum_password_length %>