0.0.22 autocomlitev2.js

This commit is contained in:
2023-07-20 16:05:21 +03:00
parent ced379ab20
commit f2019ec81b
8 changed files with 86 additions and 17 deletions

View File

@@ -40,7 +40,7 @@
<div class="from_to_country">
<div>
<label for="id_from_country">{{ form.fields.from_country.label }}</label>
<input type="text" name="from_country"{% if form.fields.from_country.required %} required{% endif %} id="id_from_country">
<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>
{% endif %}

View File

@@ -1,7 +1,7 @@
<section class="register">
<h1>Регистрация</h1>
<form name="registration_form" method="post">
<form name="registration_form" method="POST">
{% csrf_token %}
{# <div class="switch">#}

View File

@@ -8,7 +8,7 @@
<script src='{% static "js/sendRoute.js" %}'></script>
<script src='{% static "js/jquery_v3_6_4.js" %}'> </script>
<script src='{% static "js/ion.rangeSlider.min.js" %}'> </script>
<script src='{% static "js/autocomplete.js" %}'> </script>
<script src='{% static "js/autocomlitev2.js" %}'> </script>
<link rel="stylesheet" href="{% static 'css/ion.rangeSlider.min.css' %}">