Files
tripwithbonus/templates/v2/widgets/w_select_country.html
2025-01-10 22:13:59 +03:00

17 lines
1006 B
HTML

{% load static %}
{% load i18n %}
<div class="w_select_country closed">
<div class="w_select_country_header" onclick="openCountruSelectIfDataEnter(this)">
<div class="select_country_header_left_part">
<div class="container_inf_about_country">
<img class="country_flag_img_container"{% if initial.country.flag %} src="{{ initial.country.flag.url }}"{% endif %}>
<div class="country_code">{% if initial.country.short_code %}{{ initial.country.short_code }}{% endif %}</div>
</div>
<input class="dropped" type="text" name="{{ name }}" id="id_{{ name }}" placeholder="{{ placeholder }}" oninput="searchCountry(this)" data-value="" data-id="" value="{% if initial.name %}{{ initial.name }}/{{ initial.country.name }}{% endif %}">
</div>
<img class="w_select_country_icon" src="{% static "v2/icons/widgets/w_select_country/pin.svg" %}" alt="">
</div>
<div class="w_select_country_content">
</div>
</div>