2023-12-19 16:31:57 +01:00
|
|
|
- content_for(:title) { "Nature des dossiers" }
|
|
|
|
|
|
|
|
.fr-container.fr-my-6w
|
|
|
|
%h1.fr-h1 Récupération de dossiers
|
|
|
|
|
|
|
|
%h2.fr-h2 Nature des dossiers
|
2023-12-19 15:30:12 +01:00
|
|
|
= form_with data: { controller: 'enable-submit-if-checked' } do |f|
|
2023-12-19 16:31:57 +01:00
|
|
|
|
|
|
|
- buttons = [{ label: 'des dossiers concernant une collectivité territoriale',
|
|
|
|
value: 'collectivite',
|
|
|
|
hint: '(DETR, autres demandes de subvention, consultation du domaine, ...)' },
|
|
|
|
{ label: 'autre', value: 'autre'}]
|
|
|
|
|
2023-12-19 15:30:12 +01:00
|
|
|
%div{ data: { 'action': "click->enable-submit-if-checked#click" } }
|
2023-12-19 16:31:57 +01:00
|
|
|
= render Dsfr::RadioButtonListComponent.new(form: f, target: :nature, buttons: buttons) do
|
|
|
|
%legend#radio-hint-element-legend.fr-fieldset__legend--regular.fr-fieldset__legend Quel type de dossier souhaitez vous récupérer ?
|
|
|
|
|
2023-12-19 15:30:12 +01:00
|
|
|
%button.fr-btn{ disabled: true, data: { 'enable-submit-if-checked-target': 'submit' } } Continuer
|