0.0.26 upd autocomlitev2.js

This commit is contained in:
2023-07-20 17:28:09 +03:00
parent 60ba920aaf
commit 1125a737fd
3 changed files with 34 additions and 19 deletions

View File

@@ -39,17 +39,18 @@
<hr>
<div class="from_to_country">
<div>
<label for="id_from_country">{{ form.fields.from_country.label }}</label>
<input oninput="search(this)" type="text" name="from_country"{% if form.fields.from_country.required %} required{% endif %} id="id_from_country">
{% if form.errors and form.errors.from_country %}
<span>{{ form.errors.from_country }}</span>
<label for="id_from_address_point">{{ form.fields.from_address_point.label }}</label>
<input oninput="searchTown(this)" type="text" name="from_address_point"{% if form.fields.from_address_point.required %} required{% endif %} id="id_from_address_point">
<div class="input_list"></div>
{% if form.errors and form.errors.from_address_point %}
<span>{{ form.errors.from_address_point}}</span>
{% endif %}
</div>
<div>
<label for="id_to_country">{{ form.fields.to_country.label }}</label>
<input type="text" name="to_country"{% if form.fields.to_country.required %} required{% endif %} id="id_to_country">
{% if form.errors and form.errors.to_country %}
<span>{{ form.errors.to_country }}</span>
<label for="id_to_address_point">{{ form.fields.to_address_point.label }}</label>
<input type="text" name="to_address_point"{% if form.fields.to_address_point.required %} required{% endif %} id="id_to_address_point">
{% if form.errors and form.errors.to_address_point %}
<span>{{ form.errors.to_address_point }}</span>
{% endif %}
</div>
</div>