{% extends 'base.html' %} {% load static i18n crispy_forms_tags %} {% block title %}{% trans "Form Templates" %} - {{ block.super }}{% endblock %} {% block customCSS %} {% endblock %} {% block content %}
{% if template.description %} {{ template.description|truncatewords:20 }} {% else %} {% trans "No description provided" %} {% endif %}
{# Action area #}| {% trans "Template Name" %} | {% trans "Job" %} | {% trans "Stages" %} | {% trans "Fields" %} | {% trans "Created" %} | {% trans "Last Updated" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|
| {{ template.name }} | {{ template.job|default:"N/A" }} | {{ template.get_stage_count }} | {{ template.get_field_count }} | {{ template.created_at|date:"M d, Y" }} | {{ template.updated_at|date:"M d, Y" }} |
{% if query %} {% blocktrans with query=query %}No templates match your search "{{ query }}".{% endblocktrans %} {% else %} {% trans "You haven't created any form templates yet." %} {% endif %}