Arrange Sort List form fields

This commit is contained in:
Joachim 2021-04-29 21:41:31 +02:00
parent daa7746f47
commit b59b3e294f

View file

@ -79,15 +79,19 @@
<section class="column is-one-quarter content"> <section class="column is-one-quarter content">
<h2>{% trans "Sort List" %}</h2> <h2>{% trans "Sort List" %}</h2>
<form name="sort" action="{% url 'list' list.id %}" method="GET" class="block"> <form name="sort" action="{% url 'list' list.id %}" method="GET" class="block">
<div class="field">
<label class="label" for="id_sort_by">{% trans "Sort By" %}</label> <label class="label" for="id_sort_by">{% trans "Sort By" %}</label>
<div class="select is-fullwidth"> <div class="select is-fullwidth">
{{ sort_form.sort_by }} {{ sort_form.sort_by }}
</div> </div>
</div>
<div class="field">
<label class="label" for="id_direction">{% trans "Direction" %}</label> <label class="label" for="id_direction">{% trans "Direction" %}</label>
<div class="select is-fullwidth"> <div class="select is-fullwidth">
{{ sort_form.direction }} {{ sort_form.direction }}
</div> </div>
<div> </div>
<div class="field">
<button class="button is-primary is-fullwidth" type="submit"> <button class="button is-primary is-fullwidth" type="submit">
{% trans "Sort List" %} {% trans "Sort List" %}
</button> </button>