prefill: open possible values in a new tab (#8524)

This commit is contained in:
Sébastien Carceles 2023-01-30 14:55:46 +01:00 committed by GitHub
parent 938e524060
commit d3e0046e9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@
= t("views.prefill_descriptions.edit.possible_values.#{type_de_champ.type_champ}_html")
%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)
= link_to "Voir toutes les valeurs possibles", prefill_type_de_champ_path(prefill_description.path, type_de_champ), target: "_blank"
- else
= type_de_champ.possible_values.to_sentence
%tr{ class: prefillable ? "" : "fr-text-mention--grey" }