From: Jan Szejko Date: Mon, 7 May 2018 13:08:01 +0000 (+0200) Subject: disable ESEM forms X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/798aa75fca4137abc8ab34bca72cb630b7f74222?ds=sidebyside disable ESEM forms --- 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)