Remove unnecessary lists around link & button

This commit is contained in:
Corinne Durrmeyer 2024-07-24 10:42:05 +02:00
parent 1eb012924b
commit 96f1f101a9
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -30,11 +30,9 @@
= f.label :remember_me, t('views.users.sessions.new.remember_me'), class: 'remember-me' = f.label :remember_me, t('views.users.sessions.new.remember_me'), class: 'remember-me'
.fr-fieldset__element .fr-fieldset__element
%ul.fr-btns-group .fr-btns-group= f.submit t('views.users.sessions.new.connection'), class: "fr-btn"
%li= f.submit t('views.users.sessions.new.connection'), class: "fr-btn fr-btn--lg"
- if AgentConnectService.enabled? - if AgentConnectService.enabled?
%p.fr-hr-or= t('views.shared.france_connect_login.separator') %p.fr-hr-or= t('views.shared.france_connect_login.separator')
%h2.important-header.mb-1= t('views.users.sessions.new.state_civil_servant') %h2.important-header.mb-1= t('views.users.sessions.new.state_civil_servant')
%ul.fr-btns-group .fr-btns-group= link_to t('views.users.sessions.new.connect_with_agent_connect'), agent_connect_path, class: "fr-btn fr-btn--secondary"
%li= link_to t('views.users.sessions.new.connect_with_agent_connect'), agent_connect_path, class: "fr-btn fr-btn--secondary"