fields: refine label/hint for computed data value field (#53843)
This commit is contained in:
parent
6a37360efb
commit
decc4d2465
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue