M
M
maxell2019-11-14 00:16:16
Django
maxell, 2019-11-14 00:16:16

How to properly position forms on a page?

I have 3 forms:
Search and two sortable forms with radiobuttons

<form class="d-flex" action ="{% url 'search' %}" >
                        <input class="form-control border-right-0 border " type="search" value="{{search}}" placeholder="Искать товары", name="search">
                        <button class="btn btn-outline-success " type="submit"><i class="fa fa-search"></i></button>
                    </form>

Others - type="radio"
Do I need to place all of their hidden inputs in one form, or is it possible to somehow get all the value from all forms at once?
Problem: If I filter a product through one form - value in other forms = None I
use Django

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question