Existing Templates
{% if templates and templates|length > 0 %}
{% for t in templates %}
{% set st = (t.status.value if t.status else 'draft') %}
{% set is_published = (st == 'published') %}
Updated {{ t.updated_at.strftime('%Y-%m-%d %H:%M') if t.updated_at else '—' }}
{% endfor %}
{% else %}
No templates yet. Click “Create Form” to add one.
{% endif %}