I have to Devise models, User
and Vendor
. I generated the views for Vendor and customized the signup form to suit my needs. I needed to tweak the regis
I would write this as a comment, but it will be easier to read as an answer:
Perhaps you could try replacing devise_error_messages!
with a standard Rails error display:
<% if resource.errors.any? %>
<div class="error">
<strong><%= pluralize(resource.errors.count, "Error") %></strong>
<ul>
<% resource.errors.each do |attr,msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>