Commit 8743f3dd authored by Malcolm's avatar Malcolm

Amend label on EnquiryForm description field

parent 69ebcf9d
Pipeline #36458566 passed with stage
in 1 minute and 29 seconds
...@@ -34,7 +34,7 @@ class EnquiryForm(RequiredFieldForm): ...@@ -34,7 +34,7 @@ class EnquiryForm(RequiredFieldForm):
self.fields[name].widget.attrs.update( self.fields[name].widget.attrs.update(
{"class": "pure-input-1", "rows": 4} {"class": "pure-input-1", "rows": 4}
) )
self.fields["description"].help_text = "Please enter your message" self.fields["description"].label = "Message"
if self.req.user.is_authenticated: if self.req.user.is_authenticated:
del self.fields["captcha"] del self.fields["captcha"]
# gdpr # gdpr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment