{{ define "content" }}
    {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.tagsForm*/ -}}
    <td data-hx-target="this" data-hx-swap="outerHTML">
        <form action="{{ .Action }}" method="POST"
              data-hx-push-url="false" data-hx-boost="true" data-hx-trigger="numerus-tags-out,submit">
            {{ csrfToken }}
            {{ putMethod }}
            {{ template "tags-field" .Tags | addTagsAttr "autofocus" }}
        </form>
        <script>
            (function () {
                'use strict';
                const edit = document.getElementById('{{.Tags.Name}}-field');
                if (edit) {
                    edit.focus();
                }
            })();
        </script>
    </td>
{{- end }}
