2021-02-25 10:05:19 +01:00
|
|
|
|
.two-columns.avis-sign-up
|
|
|
|
|
.columns-container
|
|
|
|
|
.column.left
|
2024-02-16 14:21:47 +01:00
|
|
|
|
%h2.fr-py-5w.text-center= @dossier.procedure.libelle
|
2021-02-25 10:05:19 +01:00
|
|
|
|
%p.dossier Dossier nº #{@dossier.id}
|
|
|
|
|
.column
|
2024-02-16 14:21:47 +01:00
|
|
|
|
= form_for(User.new(email: @email), url: sign_up_expert_avis_path(email: @email), method: :post, html: { class: "fr-py-5w" }) do |f|
|
|
|
|
|
%h1.fr-h2= t('views.registrations.new.title', name: APPLICATION_NAME)
|
|
|
|
|
%fieldset.fr-mb-0.fr-fieldset{ aria: { labelledby: 'create-account-legend' } }
|
|
|
|
|
.fr-fieldset__element
|
|
|
|
|
%p.fr-text--sm= t('utils.mandatory_champs')
|
2021-02-25 10:05:19 +01:00
|
|
|
|
|
2024-02-16 14:21:47 +01:00
|
|
|
|
.fr-fieldset__element= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { disabled: true, autocomplete: 'email' })
|
|
|
|
|
.fr-fieldset__element
|
|
|
|
|
= render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field, opts: { autocomplete: 'new-password', minlength: PASSWORD_MIN_LENGTH }) do |c|
|
|
|
|
|
- c.with_describedby do
|
|
|
|
|
= render partial: "devise/password_rules", locals: { id: c.describedby_id }
|
2021-02-25 10:05:19 +01:00
|
|
|
|
|
2024-02-16 14:21:47 +01:00
|
|
|
|
%ul.fr-btns-group
|
|
|
|
|
%li= f.submit t('views.shared.account.create'), class: "fr-btn"
|