From: Jan Szejko Date: Mon, 4 Jun 2018 10:38:33 +0000 (+0200) Subject: update results email for new test + disable new forms X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/829d0d2004d3f22facae4f649c8b88f67f02beb8?hp=557d45d07cacc25f2ceaeed9a6febdfa380bff6d update results email for new test + disable new forms --- diff --git a/edumed/contact_forms.py b/edumed/contact_forms.py index eb4f7c9..b7f1b8a 100644 --- a/edumed/contact_forms.py +++ b/edumed/contact_forms.py @@ -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' diff --git a/edumed/templates/contact/collegium-mlodych-test/results_email.txt b/edumed/templates/contact/collegium-mlodych-test/results_email.txt index 7b68c48..bd8eeaf 100644 --- a/edumed/templates/contact/collegium-mlodych-test/results_email.txt +++ b/edumed/templates/contact/collegium-mlodych-test/results_email.txt @@ -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,