<li hx-target="this" hx-swap="outerHtml">
{{ task.title }}
{% match task.description %}
{% when Some with (val) %}
-- <span> {{ val }}</span>
{% when None %}
{% endmatch %}
<button hx-get="/tasks/{{task.id}}/edit">Edit</button>
</li>