app/views/users/passwords/new.html.erb in phcdevworks_accounts-2.2.0 vs app/views/users/passwords/new.html.erb in phcdevworks_accounts-2.2.1
- old
+ new
@@ -34,10 +34,10 @@
<!-- New Form -->
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |form| %>
<!-- Devise Error Message -->
- <%= devise_error_messages! %>
+ <%= render "devise/shared/error_messages", resource: resource %>
<!-- Devise Error Message -->
<div class="form-group">
<%= form.label :email %>
<%= form.email_field :email, autofocus: true, autocomplete: "email", class: "form-control form-control-lg" %>