Add a CTA in the header on the registration page

This commit is contained in:
gregoirenovel 2018-12-24 15:07:18 +01:00
parent a43ec4e0d1
commit c66342aa2f

View file

@ -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"