parent
f2631f679c
commit
c00eabc552
1 changed files with 7 additions and 1 deletions
@ -1,4 +1,10 @@ |
||||
{% load static %} |
||||
{% load crispy_forms_field %} |
||||
|
||||
{% if input.name == "search" %}<button class="left-menu__search-btn"><img src="{% static "img/search.svg"%}" alt="Поиск"></button>{% else %}{{ field }}{% endif %} |
||||
{% spaceless %} |
||||
{% if input.name == "search" %} |
||||
<button class="{{ input.field_classes }}"><img src="{% static "img/search.svg" %}" alt="Поиск"></button> |
||||
{% else %} |
||||
{{ field }} |
||||
{% endif %} |
||||
{% endspaceless %} |
||||
|
||||
Loading…
Reference in new issue