{% from "macros.html" import actor, csrf_field with context %}
{% if error %}{% endif %} {% for c in project.columns %}

{{ c.name }} {{ by_column[c.id] | length }} {% if c.human_only_entry %}gated{% endif %} {% if c.requires_resolution %}resolution{% endif %}

    {% for t in by_column[c.id] %}
  1. {{ t.ref }} {{ t.title }}
    {{ actor(t.assignee) }} {% for l in t.labels if l != "needs-input" %}{{ l }}{% endfor %} {% if t.needs_input %}Needs input{% endif %} {% for b in t.blocked_by if not b.closed %}blocked by {{ b.ref }}{% endfor %} {% if t.claimed_by %}@{{ t.claimed_by.handle }} · {{ t.claim_label }} · {{ t.claimed_at | ago }}{% endif %} {% if t.comment_count %}{{ t.comment_count }} comment{{ "s" if t.comment_count > 1 }}{% endif %}
  2. {% endfor %}
{% if not project.archived %}
New task
{{ csrf_field() }}
{% endif %}
{% endfor %}