impress/app/views/devise/shared/_error_messages.html.erb
Emi Matchu 82aea20679 Redesign user settings form
Motivation is that I wanna add NeoPass stuff to here! But also like,
it's looked bad for a long time, let's clean it up!! (I just used the
Devise default without any styling at all lol)
2024-04-07 06:43:29 -07:00

13 lines
376 B
Text

<% if resource.errors.any? %>
<div class="error-explanation" data-turbo-cache="false">
<header>
<%= I18n.t("errors.messages.not_saved", count: resource.errors.count,
resource: "user") %>
</header>
<ul>
<% resource.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>