cl-deck-builder2/templates/builder/_search_results_th.html

10 lines
488 B
HTML
Raw Normal View History

2024-01-21 02:35:35 -05:00
<button type="button"
style="cursor:pointer;background:none;border:none;color:inherit;font:inherit;outline:inherit</a>"
hx-include="[name='search-form']"
hx-post="{{ url }}?direction={{ opposite-direction }}&sort-by={{ sort }}&limit={{ limit }}"
hx-trigger="click"
hx-target="#{{ target }}">{{ name }}&nbsp;
{% if sort-by == sort and direction == "asc" %} &uarr;
{% elif sort-by == sort and direction == "desc" %} &darr;
{% endif %}</button>