{% extends "base.html" %} {% block title %}{{ task.title }}{% endblock %} {% block head %} {% endblock %} {% block page_title %}{{ task.title }}{% endblock %} {% block page_subtitle %}

{{ task.description or 'Complete this task to continue the workflow' }}

{% endblock %} {% block content %}

Task Details

Step
{{ task.step_name }}
Status
{{ task.status }}
{% if task.assignee %}
Assigned To
{{ task.assignee }}
{% endif %} {% if task.due_date %}
Due Date
{{ task.due_date.strftime('%Y-%m-%d %H:%M') }} {% if task.is_overdue %} Overdue {% endif %}
{% endif %}
Created At
{{ task.created_at.strftime('%Y-%m-%d %H:%M:%S') if task.created_at else 'N/A' }}

Complete Task

Fill out the form below to complete this task

{% if task.form_schema %}
{% for prop_name, prop_config in task.form_schema.get('properties', {}).items() %}
{% if prop_config.get('description') %}

{{ prop_config.get('description') }}

{% endif %} {% if prop_config.get('enum') %} {% elif prop_config.get('type') == 'boolean' %}
{% elif prop_config.get('type') == 'integer' or prop_config.get('type') == 'number' %} {% elif prop_config.get('format') == 'textarea' or (prop_config.get('type') == 'string' and prop_config.get('maxLength', 0) > 200) %} {% else %} {% endif %}
{% endfor %}
{% else %}

No additional input required. Click "Complete Task" to proceed.

{% endif %}
Cancel

Reassign Task

Assign this task to someone else

{% endblock %}