{% load i18n %}
{% trans "Choose a task" as choose_str %}
{% include "wagtailadmin/shared/header.html" with title=choose_str tabbed=1 merged=1 icon="thumbtack" %}
{% if can_create %}
{% if can_create %}
{% if createform %}
{% if task_types|length > 1 %}
{% trans "Choose a different task type" %}
{% endif %}
{% include "wagtailadmin/workflows/task_chooser/includes/create_form.html" with form=createform %}
{% else %}
{% include "wagtailadmin/workflows/task_chooser/includes/select_task_type.html" %}
{% endif %}
{% endif %}
{% include "wagtailadmin/workflows/task_chooser/includes/results.html" %}