Remove unnecessary lists around link & button
This commit is contained in:
parent
1eb012924b
commit
96f1f101a9
1 changed files with 2 additions and 4 deletions
|
@ -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"
|
|
||||||
|
|
Loading…
Reference in a new issue