diff --git a/magstock/forms.py b/magstock/forms.py index 1b5fccc..4f92fcb 100644 --- a/magstock/forms.py +++ b/magstock/forms.py @@ -75,10 +75,10 @@ class Consents: waiver_signature = StringField( 'Electronic Signature', validators=[validators.DataRequired("You must sign your full legal name to consent to the waiver.")]) - waiver_date_display = DateField('Date of Signature', render_kw={'disabled': True}) - waiver_date = HiddenField('Date of Signature (UTC)', - validators=[validators.DataRequired("No date of signature. " - "Please refresh the page or contact us.")]) + waiver_date = DateField('Date of Signature', + validators=[validators.DataRequired("No date of signature. " + "Please refresh the page or contact us.")], + render_kw={'readonly': True}) waiver_consent = BooleanField( Markup('Yes, I understand that checking this box constitutes a legal signature ' 'confirming that I acknowledge and agree to the above waiver.'), @@ -113,7 +113,6 @@ class PreregOtherInfo: legal_name = HiddenField('Legal Name') acknowledged_checkin_policy = Consents.acknowledged_checkin_policy waiver_signature = Consents.waiver_signature - waiver_date_display = Consents.waiver_date_display waiver_date = Consents.waiver_date waiver_consent = Consents.waiver_consent diff --git a/magstock/templates/forms/attendee/consents.html b/magstock/templates/forms/attendee/consents.html index 23f9578..6353e38 100644 --- a/magstock/templates/forms/attendee/consents.html +++ b/magstock/templates/forms/attendee/consents.html @@ -20,8 +20,7 @@