From 331da20785a956e54466bd67b3dfa51ef4f023f6 Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Wed, 1 Aug 2018 08:20:36 +0300 Subject: [PATCH] add rendering of a result message to contact us form --- templates/common.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/templates/common.html b/templates/common.html index 15126ce..7987941 100644 --- a/templates/common.html +++ b/templates/common.html @@ -28,8 +28,18 @@ {% endif %} {% if contact_us_form %}
+
+ Не нашли нужную программу или разработчика? + Заполните форму и с Вами свяжется наш специалист. +
{% if contact_us_form_message %} - {{ contact_us_form_message }} + {% if "success" in contact_us_form_message.tags %} +
+ {% elif "error" in contact_us_form_message.tags %} +
+ {% endif %} + {{ contact_us_form_message }} +
{% endif %} {% crispy contact_us_form %}