From a11ab8f475b5bea30b2f20eb71efa125cc0af1f3 Mon Sep 17 00:00:00 2001 From: Tomos Williams Date: Wed, 8 Jan 2025 14:16:24 +0000 Subject: [PATCH] re added name to approval_reasons widget --- caseworker/advice/forms/approval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caseworker/advice/forms/approval.py b/caseworker/advice/forms/approval.py index c7423fbb6..bc8f7d4fc 100644 --- a/caseworker/advice/forms/approval.py +++ b/caseworker/advice/forms/approval.py @@ -56,7 +56,7 @@ class Layout: TITLE = "Recommend an approval" approval_reasons = forms.CharField( - widget=forms.Textarea(attrs={"rows": 7, "class": "govuk-!-margin-top-4"}), + widget=forms.Textarea(attrs={"rows": 7, "class": "govuk-!-margin-top-4", "name": "approval_reasons"}), label="", error_messages={"required": "Enter a reason for approving"}, )