{% extends "base_authenticated.html" %} {% load form_helpers %} {% block title %}{% if is_create %}New Card{% else %}Edit Card{% endif %}{% endblock %} {% block content_inner %}
Boards / {{ board.name }} / {% if is_create %}New Card{% else %}{{ object.title|truncatechars:30 }}{% endif %}

{% if is_create %}New Card{% else %}Edit Card{% endif %}

Column: {{ column.name }}

{% csrf_token %}
{% for field in form %}
{% include "partials/form_field.html" %}
{% endfor %}
Cancel {% if not is_create %} {% endif %}
{% if not is_create and comments is not None %}

Comments ({{ comments.count }})

{% for comment in comments %} {% include "partials/kanban/comment.html" %} {% empty %}

No comments yet.

{% endfor %}
{% csrf_token %}
{% endif %}
{% endblock %} {% if not is_create %} {% include "components/delete_modal.html" with modal_id="card-delete-modal" title="Delete Card" message="Are you sure you want to delete this card? This action cannot be undone." delete_url="/cards/{{ object.pk }}/delete/" %} {% endif %} {% block extra_scripts %} {% endblock %}