Add a CTA in the header on the registration page
This commit is contained in:
parent
a43ec4e0d1
commit
c66342aa2f
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@
|
|||
= link_to destroy_user_session_path, method: :delete, class: "menu-item menu-link" do
|
||||
= image_tag "icons/sign-out.svg"
|
||||
Se déconnecter
|
||||
|
||||
- elsif request.path != new_user_session_path
|
||||
- if request.path == new_user_registration_path
|
||||
%li
|
||||
Vous avez déjà un compte ?
|
||||
%li
|
||||
= link_to "Connexion", new_user_session_path, class: "button secondary"
|
||||
|
|
Loading…
Reference in a new issue