POST working with prefill query example for repeating fields
This commit is contained in:
parent
81df033282
commit
20ba96ba3c
10 changed files with 76 additions and 10 deletions
|
@ -39,13 +39,10 @@
|
|||
%th
|
||||
= t("views.prefill_descriptions.edit.possible_values.title")
|
||||
%td
|
||||
- if I18n.exists?("views.prefill_descriptions.edit.possible_values.#{type_de_champ.type_champ}_html")
|
||||
= t("views.prefill_descriptions.edit.possible_values.#{type_de_champ.type_champ}_html")
|
||||
%br
|
||||
= type_de_champ.possible_values_sentence
|
||||
%br
|
||||
- if type_de_champ.too_many_possible_values?
|
||||
= link_to "Voir toutes les valeurs possibles", prefill_type_de_champ_path(prefill_description.path, type_de_champ)
|
||||
- else
|
||||
= type_de_champ.possible_values.to_sentence
|
||||
%tr{ class: prefillable ? "" : "fr-text-mention--grey" }
|
||||
%th
|
||||
= t("views.prefill_descriptions.edit.examples.title")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue