Files
tripwithbonus/templates/blocks/b_find_route_form.html
2025-03-21 16:50:03 +03:00

47 lines
1.6 KiB
HTML

{% load static %}
{% load i18n %}
{% if route_form %}
<form name="find_route">
{% csrf_token %}
{% include "forms/f_find_route_form_main_find_routes.html" %}
{% if show_filter_and_results %}
<div class="block-find-route">
{# {% include "forms/f_find_route_filters_form.html" %}#}
<div class="block_w_paging routes">
{% include "blocks/b_finded_routes.html" %}
<div class="clear_both"></div>
<div><!-- Yandex.RTB R-A-14631137-1 -->
<div id="yandex_rtb_R-A-14631137-1"></div>
<script>
window.yaContextCb.push(() => {
Ya.Context.AdvManager.render({
"blockId": "R-A-14631137-1",
"renderTo": "yandex_rtb_R-A-14631137-1"
})
})
</script></div>
{% if last_block == False and next_page_els_count %}
<div class="text-align-center">
<button class="button-find-more-routes" id="{{ last_el }}" onclick="load_routes(this,null,{{ next_page_els_count }},'{{ owner_type }}')">{% trans "Показать ещё" %}<span class="col_vo_els_f_load"> {{ next_page_els_count }}</span></button>
<div class="width-100 text-align-center mb-10">
<img class="loader_f_loading_routes" src="{% static "img/svg/loader.svg" %}">
</div>
</div>
{% endif %}
</div>
<div class="clear_both"></div>
</div>
{% endif %}
</form>
{% endif %}