diff --git a/templates/blocks/b_how_with_us_working.html b/templates/blocks/b_how_with_us_working.html index 794f013..ebe1049 100644 --- a/templates/blocks/b_how_with_us_working.html +++ b/templates/blocks/b_how_with_us_working.html @@ -21,7 +21,9 @@ {{ widget.name }} {% endif %} - {% include "blocks/block_elements/be_button.html" %} + {% with name_w='how_with_us_working' %} + {% include "blocks/block_elements/be_button.html" %} + {% endwith %} {% endfor %} {#
#} diff --git a/templates/blocks/b_slider.html b/templates/blocks/b_slider.html index 2f28439..6c3b119 100644 --- a/templates/blocks/b_slider.html +++ b/templates/blocks/b_slider.html @@ -25,12 +25,9 @@
{{ slide.description|linebreaksbr }}
{% endif %} {% if slide.but_title %} - - {% if slide.but_icon %} - {{ slide.but_title }} - {% endif %} -
{{ slide.but_title }}
-
+ {% with slide as widget name_w='slide' %} + {% include 'blocks/block_elements/be_button.html' %} + {% endwith %} {% endif %}
diff --git a/templates/blocks/block_elements/be_button.html b/templates/blocks/block_elements/be_button.html index 531242d..83adba7 100644 --- a/templates/blocks/block_elements/be_button.html +++ b/templates/blocks/block_elements/be_button.html @@ -1,5 +1,23 @@ {% if widget.but_title %} - + + {{ widget.but_title }} {% endif %} \ No newline at end of file diff --git a/templates/widgets/w_functuional_features_item.html b/templates/widgets/w_functuional_features_item.html index bbc1a92..edd09c7 100644 --- a/templates/widgets/w_functuional_features_item.html +++ b/templates/widgets/w_functuional_features_item.html @@ -16,6 +16,8 @@ {{ widget.description|safe|linebreaksbr }} {% endif %} - {% include "blocks/block_elements/be_button.html" %} + {% with name_w='functional_features' %} + {% include "blocks/block_elements/be_button.html" %} + {% endwith %} \ No newline at end of file