<th style="max-width:100%;white-space:nowrap;">
  <button type="button"
          style="cursor:pointer;background:none;border:none;color:inherit;font:inherit;outline:inherit</a>"
          {% if form %}form="{{ form }}"{% endif %}
          hx-include="[name='search-form']"
          hx-post="{{ url }}?direction={{ opposite-direction }}&sort-by={{ sort }}&limit={{ limit }}"
          hx-trigger="click"
          hx-target="{{ hx-target }}">{{ name }}&nbsp;{% if sort-by == sort and direction == "asc" %}&uarr;{% elif sort-by == sort and direction == "desc" %}&darr;{% endif %}</button>
</th>
