From 41b01b20ae63d34ce774e94304760ccc5c8e1a20 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Tue, 12 Nov 2024 15:22:05 +0100 Subject: fix tetanus date picker --- accounts/views.py | 1 + 1 file changed, 1 insertion(+) (limited to 'accounts/views.py') diff --git a/accounts/views.py b/accounts/views.py index a68e3c4..3cffa09 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -691,6 +691,7 @@ def edit(request, code): else: # no post, create empty validation validation_dic["birth_date"] = 'class="datepicker validate" required="" aria-required="true"' + validation_dic["tetanus_date"] = 'class="datepicker validate" required="" aria-required="true"' for i in required_fields: validation_dic[i] = 'class="validate" required="" aria-required="true"' -- cgit v1.2.1