You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.7 KiB

{% load static %}
{% load i18n %}
{% load template_filters %}
<div class="popup-window themes">
<header>
<div class="title">{% trans 'Тематика' %}</div>
</header>
<div class="body">
<div class="themes_wrapper">
<div class="scroll-container">
<div class="scroll-content">
<div class="topics-list">
<ul class="modal_checkboxes">
{% for value, text in search_form.th.field.choices %}
<li class="level1">
<label>
<input type="checkbox" class="hidden_checkbox" name="th" id="tid_{{ prefix }}{{ value }}" value="{{ value }}" {% for option in search_form.th.value %}{% if option == value|slugify %}checked="checked"{% endif %}{% endfor %}/>
<span class="custom_checkbox"></span>
<span class="label hidden">{{ text }}</span>
</label>
<a href="/search-form/?name=th&id={{ value }}" data-sub="true" class="trigger">{{ text }}</a>
<ul class="sub"></ul>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class="wait-ajax"></div>
</div>
<div class="buttons_block">
<button class="modal-approve" type="button">{% trans 'Выбрать' %}</button>
<button class="modal-clear" type="button">{% trans 'Очистить' %}</button>
</div>
</div>
</div>