docbrown/app/views/devise/shared/_authorization_error.html.erb
Lisa Sy 5ff2ad7437
Update main authentication view to improve visual design (#9856) [deploy]
* Update mobile version of /new registration view

* Optimize styles for desktop view

* Fix typo

* Fix typo

* Add twemojis in footer area

* Update messaging to fulfill all intents

* cache

* cache

* hr-label fix on mobile

* hr-label fix on mobile

* crayons for checkbox

* crayons for checkbox

* remove old styles

* move signin to appropriate folder

* Remove schema changes

* Fix registraction specs and hide password hint for no SSO enabled

* Disable email hint for password reset page

* Fix specs

* Revert "Disable email hint for password reset page"

This reverts commit b33a6dda4c13534541294281f83f7ad5a4864c0d.

* Transfer User.registered.estimated_count to the controller

* Fix import path

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-08-31 09:55:27 -07:00

23 lines
638 B
Text

<% unless flash[:alert].blank? %>
<div class="crayons-notice--danger registration__error-notice">
<% if flash[:alert].is_a?(Array) %>
Something went wrong:
<ul>
<% flash[:alert].each do |error| %>
<li>
<%= error %>
</li>
<% end %>
</ul>
<% else %>
<strong>
<%= flash[:alert] %>
</strong>
<br>
<% end %>
<% if any_selfserve_auth? %>
If you haven't created an account, we recommend signing up with social authentication below.
<% end %>
Contact <%= email_link %> if you continue having trouble.
</div>
<% end %>