#271 Identifier non editable

* sets the identifier form field as readonly
* extends help text
* updates translations
This commit is contained in:
mpeltriaux committed 2022-12-09 12:43:49 +01:00
1 parent 0de60c00e8
commit a5cc86798c
5 files changed
+7 -5

No files matched your search

+2 -1
View File
@@ -29,11 +29,12 @@ class NewInterventionForm(BaseForm):
label=_("Identifier"),
label_suffix="",
max_length=255,
help_text=_("Generated automatically"),
help_text=_("Generated automatically - not editable"),
widget=GenerateInput(
attrs={
"class": "form-control",
"url": reverse_lazy("intervention:new-id"),
"readonly": True,
}
)
)