{# Workflow status and actions on record forms. #} {% if workflow_context and workflow_context.has_workflow %}
{{ workflow_context.state_label }} {% if workflow_context.pending_transition %} (awaiting approval) {% endif %}
{% else %}{% if workflow_context.auto_start %} {{ workflow_context.definition_name }} — not started on this record yet. {% else %} Not started — {{ workflow_context.definition_name }} {% endif %}
{% endif %}Pending your approval
{% for ap in workflow_context.pending_approvals %}