{% from "macros.html" import actor, csrf_field, editor, error_box with context %} {% set d = drafts or {} %}

{{ task.project }} / {{ task.ref }}

{{ task.title }}

{{ error_box(error, conflict, "/t/" ~ task.ref) }} {% include "_task_live.html" %}
Edit title, assignee, labels, dependencies
{{ csrf_field() }}
{{ csrf_field() }}

Description History

{{ md(task.description_md) if task.description_md else "" }}
Edit description
{{ csrf_field() }} {{ editor("description_md", d.description_md or task.description_md, task.ref, label="Description") }}

Resolution History

{% if task.resolution_md %}
{{ md(task.resolution_md) }}
{% else %}

No resolution yet.

{% endif %}
{% if resolve %}Write the resolution to move this task{% else %}Edit resolution{% endif %}
{{ csrf_field() }} {% if resolve %}

This column needs a resolution; saving moves the task.

{% endif %} {{ editor("resolution_md", d.resolution_md or task.resolution_md or RESOLUTION_TEMPLATE, task.ref, label="Resolution") }}

Attachments

Add a comment

{{ csrf_field() }} {{ editor("body_md", d.body_md or "", task.ref, 5, "New comment") }} {% if question %}{% endif %}
{{ csrf_field() }} {% if task.archived %}{% else %}{% endif %}