{% extends "helpdesk/base.html" %} {% load i18n %} {% block helpdesk_title %} {% translate "Checklist Templates" %} {% endblock helpdesk_title %} {% block helpdesk_breadcrumb %} {% endblock helpdesk_breadcrumb %} {% block helpdesk_body %}

{% translate "Manage checklist templates" %}

{% translate "Create new or edit existing checklist templates." %}

{% for checklist in checklists %}
{{ checklist.name }} {{ checklist.task_list|length }} {% translate "tasks" %}
{% endfor %}
{% if checklist_template %} {% translate "Edit checklist template" %} {% else %} {% translate "Create new checklist template" %} {% endif %}
{% csrf_token %} {% for field in form.visible_fields %}
{{ field }} {% if field.errors %}{{ field.errors }}{% endif %} {% if field.help_text %}
{{ field.help_text|safe }}
{% endif %}
{% endfor %}

{% translate "Tasks" %}

{% translate "Click and drag the position icon to reorder the task items." %} {% if checklist_template %} {% for value in checklist_template.task_list %} {% include "helpdesk/include/template_task_form_row.html" %} {% endfor %} {% else %} {% include "helpdesk/include/template_task_form_row.html" %} {% endif %}
{% translate "Position" %} {% translate "Description" %} {% translate "Delete?" %}
{% if checklist_template %} {% translate "Cancel" %} {% endif %}
{% endblock helpdesk_body %} {% block helpdesk_js %} {% endblock %}