22 lines
1.2 KiB
Text
22 lines
1.2 KiB
Text
- content_for(:title, "Nouveau dossier (#{@dossier.procedure.libelle})")
|
|
|
|
- if !dossier_submission_is_closed?(@dossier)
|
|
= form_for current_user, url: siret_dossier_path(@dossier), html: { class: 'form', method: 'post' } do |f|
|
|
|
|
%fieldset.fr-mb-0.fr-fieldset{ aria: { labelledby: 'edit-identity-siret' } }
|
|
= f.hidden_field :dossier_id, value: @dossier.id
|
|
|
|
%legend.fr-fieldset__legend#edit-identity-siret
|
|
%h2.fr-h4= t('views.users.dossiers.identite.identity_siret')
|
|
|
|
.fr-fieldset__element
|
|
%p.fr-text--sm= t('views.users.dossiers.identite.complete_siret')
|
|
|
|
.fr-fieldset__element.fr-fieldset__element--short-text
|
|
= render Dsfr::InputComponent.new form: f, attribute: :siret, opts: { placeholder: t('views.users.dossiers.identite.siret_placeholder') }
|
|
|
|
.fr-fieldset__element
|
|
%p.fr-text--sm= t('views.users.dossiers.identite.siret_help_html',
|
|
annuaire_link: link_to('annuaire-entreprises.data.gouv.fr', annuaire_link, title: new_tab_suffix(t('views.users.dossiers.identite.annuaire_link_title')), **external_link_attributes))
|
|
|
|
= f.submit t('views.users.dossiers.identite.continue'), class: "fr-btn", data: { disable_with: t('views.users.dossiers.identite.siret_loading') }
|