demarches-normaliennes/spec/views/shared/dossiers
Sébastien Carceles 5c7b2ba1f3
feat(dossier): prefill drop down list champ (#8361)
* feat(dossier): prefill drop down list champ

* decorate the types de champ to avoid if / else

In order to avoid doing if this a drop down ? / else at several places,
we decorate the types de champ and let the decorator give the possible
and example values.

* show all possible values when there are too many

* allow to prefill 'other' option

* review: remove duplicate

* review: refactor for readability

* validate that value is in options

* review: exclude disabled options
2023-01-18 09:47:22 +01:00
..
_champs.html.haml_spec.rb normalize boolean values (#8320) 2023-01-05 11:18:27 +00:00
_demande.html.haml_spec.rb refactor(dossier): champs -> champs_public 2022-11-10 22:44:39 +00:00
_edit.html.haml_spec.rb feat(dossier): prefill drop down list champ (#8361) 2023-01-18 09:47:22 +01:00
_header.html.haml.spec.rb feat(dossier): allows user to edit identity from a brouillon dossier 2022-07-18 09:57:19 +02:00
_identite_entreprise.html.haml_spec.rb affiche infos entreprise uniquement si diffusable 2020-03-17 15:57:02 +00:00