Emi Matchu
82aea20679
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)
13 lines
376 B
Text
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 %>
|