app/views/devise/passwords/edit.html.erb in devise-bootstrap-form-0.2.0 vs app/views/devise/passwords/edit.html.erb in devise-bootstrap-form-0.3.0

- old
+ new

@@ -2,10 +2,10 @@ <div class="devise-bootstrap-form-row"> <div class="devise-bootstrap-form-col"> <h2 class="text-center">Change your password</h2> <%= bootstrap_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 %> <%= f.password_field :password, autofocus: true, autocomplete: "new-password",