update results email for new test + disable new forms
authorJan Szejko <janek37@gmail.com>
Mon, 4 Jun 2018 10:38:33 +0000 (12:38 +0200)
committerJan Szejko <janek37@gmail.com>
Mon, 4 Jun 2018 10:38:33 +0000 (12:38 +0200)
edumed/contact_forms.py
edumed/templates/contact/collegium-mlodych-test/results_email.txt

index eb4f7c9..b7f1b8a 100644 (file)
@@ -686,6 +686,7 @@ class SciezkiKopernikaForm(ContactForm):
 
 
 class CollegiumMlodychForm(ContactForm):
+    disabled = True
     form_tag = 'collegium-mlodych'
     form_title = u'Formularz zgłoszeniowy na warsztaty'
 
@@ -761,6 +762,7 @@ class CollegiumMlodychTestForm(CollegiumTestForm):
         super(CollegiumMlodychTestForm, self).__init__(*args, **kwargs)
         self.label_suffix = ''
 
+    disabled = True
     result_page = True
     form_tag = 'collegium-mlodych-test'
     form_title = u'Test wiedzy w zakresie edukacji medialnej i cyfrowej'
index 7b68c48..bd8eeaf 100644 (file)
@@ -9,7 +9,7 @@ https://edukacjamedialna.edu.pl{% url 'contact_results' contact.id contact.diges
 
 {% comment %}
 Zgłoś się na warsztaty:
-https://edukacjamedialna.edu.pl{% url 'contact_form' 'sciezki-kopernika' %}
+https://edukacjamedialna.edu.pl{% url 'contact_form' 'collegium-mlodych' %}
 {% endcomment %}
 
 Z pozdrowieniami,