app/views/devise/password_expired/show.html.erb in devise-security-0.13.0 vs app/views/devise/password_expired/show.html.erb in devise-security-0.14.0.rc1
- old
+ new
@@ -1,8 +1,8 @@
<h2>Renew your password</h2>
<%= form_for(resource, as: resource_name, url: [resource_name, :password_expired], html: { method: :put }) do |f| %>
- <%= devise_error_messages! %>
+ <%= render partial: 'devise/shared/error_messages' %>
<p><%= f.label :current_password, 'Current password' %><br />
<%= f.password_field :current_password %></p>
<p><%= f.label :password, 'New password' %><br />