diff --git a/todo/templates/todo/task_detail.html b/todo/templates/todo/task_detail.html index 8986da0..e1d63d0 100644 --- a/todo/templates/todo/task_detail.html +++ b/todo/templates/todo/task_detail.html @@ -3,22 +3,27 @@ {% block title %}Task:{{ task.title }}{% endblock %} {% block content %} - - - -
-
-
-

{{ task.title }}

- {% if task.note %} -

{{ task.note|safe|urlize|linebreaks }}

+
+
+

{{ task.title }}

+ {% if task.note %} +

{{ task.note|safe|urlize|linebreaks }}

{% endif %} -
-
-
    +
    +
      +
    • +
      + {% csrf_token %} + + + + +
      +
    • Assigned to: {% if task.assigned_to %} {{ task.assigned_to.get_full_name }} {% else %} Anyone {% endif %} @@ -40,7 +45,6 @@
    -
@@ -48,18 +52,18 @@ {% include 'todo/include/task_edit.html' %}
-

Add comment

+
Add comment
{% csrf_token %}
- +
-
+
{% if comment_list %} -

Comments on this task

+
Comments on this task
{% for comment in comment_list %}

{{ comment.author.first_name }} @@ -70,7 +74,7 @@ {{ comment.body|safe|urlize|linebreaks }} {% endfor %} {% else %} -

No comments (yet).

+
No comments (yet).
{% endif %}