app/views/users/passwords/edit.html.erb in phcdevworks_accounts-2.2.0 vs app/views/users/passwords/edit.html.erb in phcdevworks_accounts-2.2.1
- old
+ new
@@ -34,10 +34,10 @@
<!-- Edit Form -->
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |form| %>
<!-- Devise Error Message -->
- <%= devise_error_messages! %>
+ <%= render "devise/shared/error_messages", resource: resource %>
<!-- Devise Error Message -->
<!-- Reset Password Token -->
<%= form.hidden_field :reset_password_token %>
<!-- Reset Password Token -->