UX: better password reset error page (#18970)
This commit is contained in:
parent
3e0196cbbf
commit
dbce8ca94b
|
@ -1,14 +1,18 @@
|
|||
<div id="simple-container">
|
||||
<%if @error%>
|
||||
<div class='alert alert-error'>
|
||||
<%= @error.html_safe %>
|
||||
<div class='invite-error'>
|
||||
<div class="error-image">
|
||||
<img src="/images/sweat-smile-face.svg" alt="sweat-smile-face emoji">
|
||||
</div>
|
||||
<%end%>
|
||||
<div class="error-info">
|
||||
<%= @error.html_safe %>
|
||||
|
||||
<% if @user.present? and @user.errors.present? %>
|
||||
<div class='alert alert-error'>
|
||||
<% @user.errors.full_messages.each do |msg| %>
|
||||
<li><%= msg %></li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<%end%>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue