demarches-normaliennes/app/views/prefill_descriptions/edit.html.haml
Sébastien Carceles dd0a05c1d8
feat(prefill): add possible values (#8299)
* update layout in order to show possible values

* filter out non fillable types de champ
2022-12-20 11:04:42 +01:00

19 lines
692 B
Text

- content_for(:title, @prefill_description.libelle)
- content_for :footer do
= render partial: "root/footer"
.container.prefill-description
.two-columns.procedure-context
.columns-container
.column.procedure-preview
= render partial: 'shared/procedure_description', locals: { procedure: @prefill_description }
.column.procedure-context-content
%p
= t("views.prefill_descriptions.edit.intro_html", libelle: @prefill_description.libelle)
%p
= t("views.prefill_descriptions.edit.info")
= render "types_de_champs", prefill_description: @prefill_description
= render "prefill_link", prefill_description: @prefill_description