Rename the label and description field for clarity

Add the 'document' prefix to the field labels for clarirty.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-06-08 21:28:43 -04:00
parent 34d7ff6e01
commit 047f48d39f

View File

@@ -19,7 +19,7 @@ DEFAULT_TIMEOUT = 4 # 4 seconds
class DocumentPropertiesEditAction(WorkflowAction):
fields = {
'document_label': {
'label': _('Label'),
'label': _('Document label'),
'class': 'django.forms.CharField', 'kwargs': {
'help_text': _(
'The new label to be assigned to the document. Can be a '
@@ -27,7 +27,7 @@ class DocumentPropertiesEditAction(WorkflowAction):
), 'required': False
},
}, 'document_description': {
'label': _('Description'),
'label': _('Document description'),
'class': 'django.forms.CharField', 'kwargs': {
'help_text': _(
'The new description to be assigned to the document. '