fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a995c5d
)
disable ESEM forms
author
Jan Szejko
<janek37@gmail.com>
Mon, 7 May 2018 13:08:01 +0000
(15:08 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Mon, 7 May 2018 13:08:01 +0000
(15:08 +0200)
edumed/contact_forms.py
patch
|
blob
|
history
diff --git
a/edumed/contact_forms.py
b/edumed/contact_forms.py
index
b04ca98
..
257c2fb
100644
(file)
--- 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'
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)
imie = forms.CharField(label=u'Imię', max_length=128)
nazwisko = forms.CharField(label=u'Nazwisko', max_length=128)