{% extends 'django_forms_workflows/base.html' %} {% load forms_workflows_tags %} {% block title %}Available Forms - {{ site_name }}{% endblock %} {% block content %}
{# ── Page header + search ── #}

Available Forms

{% if search_query %}

{% with total=forms|length %} {{ total }} result{{ total|pluralize }} for “{{ search_query }}” {% endwith %}

{% endif %} {% if grouped_forms %} {% render_form_categories grouped_forms %} {% elif forms %} {# Fallback: flat list when grouped_forms is not provided #}
{% for form in forms %}
{{ form.name }}

{{ form.description|striptags|truncatewords:20 }}

{% endfor %}
{% else %}
No forms are currently available. Please check back later or contact your administrator.
{% endif %}
{% endblock %}