diff --git a/GeneralApp/models.py b/GeneralApp/models.py index 1944078..7491657 100644 --- a/GeneralApp/models.py +++ b/GeneralApp/models.py @@ -21,6 +21,7 @@ block_type_choices = ( ('photo_n_text', _('Фото + текст')), ('photo150_n_title', _('Фото 150x150 + заголовок')), ('how_work', _('Как с нами работать')), + ('feedback_form', _('Форма обратной связи')), # ('slider', _('Галерея слайдов')), ) diff --git a/templates/blocks/b_how_with_us_working.html b/templates/blocks/b_how_with_us_working.html index 63650c6..c4ee63a 100644 --- a/templates/blocks/b_how_with_us_working.html +++ b/templates/blocks/b_how_with_us_working.html @@ -51,8 +51,6 @@ {% endif %} - {% include 'forms/f_consultation.html' %} - \ No newline at end of file diff --git a/templates/forms/f_consultation.html b/templates/forms/f_consultation.html index e0c10ff..e33ae84 100644 --- a/templates/forms/f_consultation.html +++ b/templates/forms/f_consultation.html @@ -1,27 +1,30 @@ {% load static %} {% load i18n %} +
+
+
+
+
+
+
+
+ {% translate 'НУЖНА КОНСУЛЬТАЦИЯ - ИХ ЕСТЬ У НАС!' %} +
+
+ {% translate 'Lorem ipsum dolor sit amet consectetur. Rutrum tristique mauris non vitae varius porta quis. Magna adipiscing in turpis pellentesque sit turpis enim condimentum cras. Imperdiet enim feugiat blandit in vitae congue cursus ac.' %} +
+ +
+
+ + + + + +
-
-
- -
-
-
- {% translate 'НУЖНА КОНСУЛЬТАЦИЯ - ИХ ЕСТЬ У НАС!' %}
-
- {% translate 'Lorem ipsum dolor sit amet consectetur. Rutrum tristique mauris non vitae varius porta quis. Magna adipiscing in turpis pellentesque sit turpis enim condimentum cras. Imperdiet enim feugiat blandit in vitae congue cursus ac.' %} -
- -
-
- - - - - -
- +
- +
\ No newline at end of file diff --git a/templates/pages/content/c_projectiing_section.html b/templates/pages/content/c_projectiing_section.html index d657200..f140e98 100644 --- a/templates/pages/content/c_projectiing_section.html +++ b/templates/pages/content/c_projectiing_section.html @@ -6,7 +6,10 @@ {% include 'blocks/b_photo150_n_title.html' %} {% elif block.block_type == 'how_work' %} {% include 'blocks/b_how_with_us_working.html' %} + {% elif block.block_type == 'feedback_form' %} + {% include 'forms/f_consultation.html' %} {% endif %} + {% endfor %} {% if cur_section.plugin_presentation.all %} {% include 'blocks/b_3d_s_d.html' with block=cur_section.plugin_presentation.all.0 %}