mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 14:11:10 +00:00
Rework the Sign Up/Sign In views
Use Capybaras save_page when feature tests go wrong
This commit is contained in:
parent
76028f5755
commit
5f96c276e9
24 changed files with 326 additions and 100 deletions
|
|
@ -1,16 +1,8 @@
|
|||
- if controller_name != 'sessions'
|
||||
= link_to "Sign in", new_user_session_path
|
||||
%br
|
||||
|
||||
- if devise_mapping.registerable? && controller_name != 'registrations'
|
||||
= link_to "Sign up", new_registration_path(resource_name)
|
||||
%br
|
||||
|
||||
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
|
||||
- if devise_mapping.recoverable? && controller_name != 'passwords'
|
||||
= link_to "Forgot your password?", new_password_path(resource_name)
|
||||
%br
|
||||
|
||||
- if devise_mapping.confirmable? && controller_name != 'confirmations'
|
||||
- if devise_mapping.confirmable? && controller_name != 'confirmations' && controller_name == 'passwords'
|
||||
= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
|
||||
%br
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue