From 829d0d2004d3f22facae4f649c8b88f67f02beb8 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Mon, 4 Jun 2018 12:38:33 +0200 Subject: [PATCH 1/1] update results email for new test + disable new forms --- edumed/contact_forms.py | 2 ++ .../templates/contact/collegium-mlodych-test/results_email.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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, -- 2.20.1