From decc4d2465ea339276de9af977d6630e8ea431f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 7 May 2021 10:54:37 +0200 Subject: [PATCH] fields: refine label/hint for computed data value field (#53843) --- wcs/fields.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcs/fields.py b/wcs/fields.py index 77dbc3bc7..8b1fa8cad 100644 --- a/wcs/fields.py +++ b/wcs/fields.py @@ -3424,11 +3424,12 @@ class ComputedField(Field): form.add( StringWidget, 'value_template', - title=_('Value Template'), + title=_('Value'), required=True, size=80, value=self.value_template, validation_function=ComputedExpressionWidget.validate_template, + hint=_('As a Django template'), ) form.add( CheckboxWidget,