app/views/devise/confirmations/new.html.erb in blacklight-spotlight-2.4.1 vs app/views/devise/confirmations/new.html.erb in blacklight-spotlight-2.5.0
- old
+ new
@@ -1,11 +1,10 @@
<h2>Resend confirmation instructions</h2>
<%= bootstrap_form_for(resource, as: resource_name, url: contact_email_confirmation_path,
html: { method: :post , class: 'col-md-7' }) do |f| %>
- <%= devise_error_messages! %>
+ <%= render "devise/shared/error_messages", resource: resource %>
<%= f.email_field :email, :autofocus => true %>
<div><%= f.submit "Resend confirmation instructions" %></div>
<% end %>
-