From 798aa75fca4137abc8ab34bca72cb630b7f74222 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Mon, 7 May 2018 15:08:01 +0200 Subject: [PATCH 1/1] disable ESEM forms --- edumed/contact_forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edumed/contact_forms.py b/edumed/contact_forms.py index b04ca98..257c2fb 100644 --- a/edumed/contact_forms.py +++ b/edumed/contact_forms.py @@ -821,6 +821,8 @@ class ESEMWarszawaForm(ContactForm): admin_list = ['imie', 'nazwisko', 'instytucja', 'contact'] submit_label = u'Wyślij' mailing_field = 'zgoda_newsletter' + disabled = True + disabled_template = 'contact/disabled_contact_form.html' imie = forms.CharField(label=u'Imię', max_length=128) nazwisko = forms.CharField(label=u'Nazwisko', max_length=128) -- 2.20.1