Merge remote-tracking branch 'origin/main'

This commit is contained in:
SBD
2023-11-28 13:28:21 +03:00
4 changed files with 28 additions and 23 deletions

View File

@@ -21,6 +21,7 @@ block_type_choices = (
('photo_n_text', _('Фото + текст')), ('photo_n_text', _('Фото + текст')),
('photo150_n_title', _('Фото 150x150 + заголовок')), ('photo150_n_title', _('Фото 150x150 + заголовок')),
('how_work', _('Как с нами работать')), ('how_work', _('Как с нами работать')),
('feedback_form', _('Форма обратной связи')),
# ('slider', _('Галерея слайдов')), # ('slider', _('Галерея слайдов')),
) )

View File

@@ -51,8 +51,6 @@
</div> </div>
{% endif %} {% endif %}
{% include 'forms/f_consultation.html' %}
</div> </div>
</div> </div>

View File

@@ -1,7 +1,8 @@
{% load static %} {% load static %}
{% load i18n %} {% load i18n %}
<div style="width: 100%;{% if block.bg_color %} background: {{ block.bg_color }}{% endif %}">
<div class="form_consultation_container"> <div class="cut-width">
<div class="form_consultation_container" >
<div class="top_border_gradient"></div> <div class="top_border_gradient"></div>
<form class="form_consultation"> <form class="form_consultation">
<div class="container_content_form_consultation"> <div class="container_content_form_consultation">
@@ -24,4 +25,6 @@
</div> </div>
</form> </form>
</div>
</div>
</div> </div>

View File

@@ -6,7 +6,10 @@
{% include 'blocks/b_photo150_n_title.html' %} {% include 'blocks/b_photo150_n_title.html' %}
{% elif block.block_type == 'how_work' %} {% elif block.block_type == 'how_work' %}
{% include 'blocks/b_how_with_us_working.html' %} {% include 'blocks/b_how_with_us_working.html' %}
{% elif block.block_type == 'feedback_form' %}
{% include 'forms/f_consultation.html' %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if cur_section.plugin_presentation.all %} {% if cur_section.plugin_presentation.all %}
{% include 'blocks/b_3d_s_d.html' with block=cur_section.plugin_presentation.all.0 %} {% include 'blocks/b_3d_s_d.html' with block=cur_section.plugin_presentation.all.0 %}