diff --git a/app/views/administrateurs/procedures/_informations.html.haml b/app/views/administrateurs/procedures/_informations.html.haml index 6f976071b..9c28a9dcc 100644 --- a/app/views/administrateurs/procedures/_informations.html.haml +++ b/app/views/administrateurs/procedures/_informations.html.haml @@ -88,37 +88,37 @@ Formats acceptés : .doc, .odt, .pdf, .ppt, .pptx = render Attachment::EditComponent.new(attached_file: @procedure.notice, view_as: :download) -- if !@procedure.locked? - %fieldset.fr-fieldset{ "aria-labelledby": "for-individual-legend" } - %legend#for-individual-legend.fr-fieldset__legend.fr-fieldset__legend--regular - À qui s’adresse ma démarche ? - %span.fr-hint-text Si votre démarche s’adresse indifféremment à une personne morale ou un particulier, choisissez l'option « Particuliers ». Vous pourrez ajouter un champ SIRET directement dans le formulaire. + - if !@procedure.locked? .fr-fieldset__element - .fr-radio-group.fr-radio-rich - = f.radio_button :for_individual, true - = f.label :for_individual, value: true, class: "fr-label" do - Ma démarche s’adresse à un particulier - %span.fr-hint-text En choisissant cette option, l’usager devra renseigner son nom et prénom avant d’accéder au formulaire - .fr-radio-rich__img - %svg.fr-artwork{ aria_hidden: "true", viewBox: "0 0 80 80", width: "80px", height: "80px" } - %use.fr-artwork-decorative{ href: image_path("pictograms/digital/avatar.svg#artwork-decorative") } - %use.fr-artwork-minor{ href: image_path("pictograms/digital/avatar.svg#artwork-minor") } - %use.fr-artwork-major{ href: image_path("pictograms/digital/avatar.svg#artwork-major") } + %fieldset.fr-fieldset{ "aria-labelledby": "for-individual-legend" } + %legend#for-individual-legend.fr-fieldset__legend.fr-fieldset__legend--regular + À qui s’adresse ma démarche ? + %span.fr-hint-text Si votre démarche s’adresse indifféremment à une personne morale ou un particulier, choisissez l'option « Particuliers ». Vous pourrez ajouter un champ SIRET directement dans le formulaire. + .fr-fieldset__element + .fr-radio-group.fr-radio-rich + = f.radio_button :for_individual, true + = f.label :for_individual, value: true, class: "fr-label" do + Ma démarche s’adresse à un particulier + %span.fr-hint-text En choisissant cette option, l’usager devra renseigner son nom et prénom avant d’accéder au formulaire + .fr-radio-rich__img + %svg.fr-artwork{ aria_hidden: "true", viewBox: "0 0 80 80", width: "80px", height: "80px" } + %use.fr-artwork-decorative{ href: image_path("pictograms/digital/avatar.svg#artwork-decorative") } + %use.fr-artwork-minor{ href: image_path("pictograms/digital/avatar.svg#artwork-minor") } + %use.fr-artwork-major{ href: image_path("pictograms/digital/avatar.svg#artwork-major") } - .fr-fieldset__element - .fr-radio-group.fr-radio-rich - = f.radio_button :for_individual, false - = f.label :for_individual, value: false, class: 'fr-label' do - Ma démarche s’adresse à une personne morale - %span.fr-hint-text - En choisissant cette option, l’usager devra renseigner son n° SIRET.
Grâce à l’API Entreprise, les informations sur la personne morale (raison sociale, adresse du siège, etc.) seront automatiquement renseignées. - .fr-radio-rich__img - %svg.fr-artwork{ aria_hidden: "true", viewBox: "0 0 80 80", width: "80px", height: "80px" } - %use.fr-artwork-decorative{ href: image_path("pictograms/buildings/school.svg#artwork-decorative") } - %use.fr-artwork-minor{ href: image_path("pictograms/buildings/school.svg#artwork-minor") } - %use.fr-artwork-major{ href: image_path("pictograms/buildings/school.svg#artwork-major") } + .fr-fieldset__element + .fr-radio-group.fr-radio-rich + = f.radio_button :for_individual, false + = f.label :for_individual, value: false, class: 'fr-label' do + Ma démarche s’adresse à une personne morale + %span.fr-hint-text + En choisissant cette option, l’usager devra renseigner son n° SIRET.
Grâce à l’API Entreprise, les informations sur la personne morale (raison sociale, adresse du siège, etc.) seront automatiquement renseignées. + .fr-radio-rich__img + %svg.fr-artwork{ aria_hidden: "true", viewBox: "0 0 80 80", width: "80px", height: "80px" } + %use.fr-artwork-decorative{ href: image_path("pictograms/buildings/school.svg#artwork-decorative") } + %use.fr-artwork-minor{ href: image_path("pictograms/buildings/school.svg#artwork-minor") } + %use.fr-artwork-major{ href: image_path("pictograms/buildings/school.svg#artwork-major") } -%fieldset.fr-fieldset .fr-fieldset__element = f.label :tags, 'Associez les tags à la démarche', class: 'fr-label' %p.fr-hint-text Les tags sont des mots ou des expressions que vous attribuez aux démarches pour décrire leur contenu et pour les retrouver. Les tags sont partagés avec la communauté, ce qui vous permet de voir les tags attribués aux démarches créées par les autres administrateurs. @@ -164,7 +164,7 @@ %fieldset.fr-fieldset{ "aria-labelledby": "declarative_with_state-legend" } %legend#declarative_with_state-legend.fr-fieldset__legend.fr-fieldset__legend--regular Démarche déclarative - %span.fr-hint-text + %span.fr-hint-text.fr-mt-0 Par défaut, un dossier déposé peut être complété ou corrigé par le demandeur jusqu'à sa mise en instruction.
Dans une démarche déclarative, une fois déposé, un dossier ne peut plus être modifié. Soit il passe immédiatement « en instruction » pour être traité, soit il est immédiatement « accepté ». .fr-fieldset__element