From 96f1f101a930a223b30c25c78dd46f23316ef683 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Wed, 24 Jul 2024 10:42:05 +0200 Subject: [PATCH] Remove unnecessary lists around link & button --- app/views/users/sessions/new.html.haml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml index 34d0f66ff..2a9ee38b0 100644 --- a/app/views/users/sessions/new.html.haml +++ b/app/views/users/sessions/new.html.haml @@ -30,11 +30,9 @@ = f.label :remember_me, t('views.users.sessions.new.remember_me'), class: 'remember-me' .fr-fieldset__element - %ul.fr-btns-group - %li= f.submit t('views.users.sessions.new.connection'), class: "fr-btn fr-btn--lg" + .fr-btns-group= f.submit t('views.users.sessions.new.connection'), class: "fr-btn" - if AgentConnectService.enabled? %p.fr-hr-or= t('views.shared.france_connect_login.separator') %h2.important-header.mb-1= t('views.users.sessions.new.state_civil_servant') - %ul.fr-btns-group - %li= link_to t('views.users.sessions.new.connect_with_agent_connect'), agent_connect_path, class: "fr-btn fr-btn--secondary" + .fr-btns-group= link_to t('views.users.sessions.new.connect_with_agent_connect'), agent_connect_path, class: "fr-btn fr-btn--secondary"