File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 79
79
{# /Showing #}
80
80
81
81
{# Pagination options #}
82
- < nav class =" text-end " aria-label ="{% trans "Pagination options " %}">
82
+ < nav aria-label ="{% trans "Pagination options " %}">
83
83
{% if page %}
84
- < div class ="dropdown ">
84
+ < div class ="dropdown dropdown-menu-end ">
85
85
< button class ="btn btn-sm btn-outline-secondary dropdown-toggle " type ="button " data-bs-toggle ="dropdown ">
86
86
{% trans "Per Page" %}
87
87
</ button >
88
- < div class ="dropdown-menu ">
88
+ < ul class ="dropdown-menu ">
89
89
{% for n in page.paginator.get_page_lengths %}
90
- {% if htmx %}
91
- < a href ="# " hx-get ="{{ table.htmx_url }}{% querystring request per_page=n %} " class ="dropdown-item "> {{ n }}</ a >
92
- {% else %}
93
- < a href ="{% querystring request per_page=n %} " class ="dropdown-item "> {{ n }}</ a >
94
- {% endif %}
90
+ < li >
91
+ {% if htmx %}
92
+ < a href ="# " hx-get ="{{ table.htmx_url }}{% querystring request per_page=n %} " class ="dropdown-item "> {{ n }}</ a >
93
+ {% else %}
94
+ < a href ="{% querystring request per_page=n %} " class ="dropdown-item "> {{ n }}</ a >
95
+ {% endif %}
96
+ </ li >
95
97
{% endfor %}
96
- </ div >
98
+ </ ul >
97
99
</ div >
98
100
{% endif %}
99
101
</ nav >
You can’t perform that action at this time.
0 commit comments