<div class = "input-group mb-3">
{{form.city.label(class="form control table")}}
{{form.city(class="btn dropdown-toggle", id="floatingCity", placeholder="City")}}
</div>
</div>
<div class = "input-group mb-3">
{{form.complete_form(class="btn btn-outline-info")}}
</div>
</form>
<form method="POST" action="">
<div class = "input-group mb-3">
{{form.district.label(class="form control table")}}
{{form.district(class="btn dropdown-toggle", id="floatingDistrict", placeholder="District")}}
</div>
</form>
?
оставьте пока самую простую форму, без наворотов <form action=""> {{ form.city.label }} {{ form.city }} {{ form.district.label }} {{ form.district }} <input type="submit" value="Get districts"> </form> и на ней экспериментируйте
Обсуждают сегодня