demarches-normaliennes/app/views/layouts/_new_header.haml

8 lines
328 B
Text
Raw Normal View History

.new-header{ class: current_page?(root_path) ? nil : 'new-header-with-border' }
2017-04-04 14:37:16 +02:00
.header-inner-content
= link_to root_path do
%img.header-logo{ src: image_url("header/logo-tps.svg") }
2017-04-04 14:37:16 +02:00
2017-06-14 18:34:53 +02:00
- unless request.path == new_user_session_path
= link_to "Connexion", new_user_session_path, class: "header-login-button"