Projet

Général

Profil

0001-fields-refine-label-hint-for-computed-data-value-fie.patch

Frédéric Péters, 07 mai 2021 10:55

Télécharger (944 octets)

Voir les différences:

Subject: [PATCH] fields: refine label/hint for computed data value field
 (#53843)

 wcs/fields.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
wcs/fields.py
3424 3424
        form.add(
3425 3425
            StringWidget,
3426 3426
            'value_template',
3427
            title=_('Value Template'),
3427
            title=_('Value'),
3428 3428
            required=True,
3429 3429
            size=80,
3430 3430
            value=self.value_template,
3431 3431
            validation_function=ComputedExpressionWidget.validate_template,
3432
            hint=_('As a Django template'),
3432 3433
        )
3433 3434
        form.add(
3434 3435
            CheckboxWidget,
3435
-