{% extends "site_base.html" %} {% load comments %} {% block extranav %}
  • {{ image.corkboard.project }}
  • {{ image.corkboard }}
  • {{ image }}
  • {% endblock %} {% block css_extra %} {% endblock %} {% block js_extra %} {% endblock %} {% block content %}

    {{ image.title }}

    {% get_comment_count for image as comment_count %}

    This image has {% ifequal notes_count 0 %}No Notes {% else %}{{ notes_count }} Notes (Hover over the image to see the notes) {% endifequal %} and {{ comment_count }} .
    Attach a note to this image

    {{ image.title }}
    View Full Size Image

    {{ image.description }}

    {% csrf_token %}

    Add Note

    {% if form.non_field_errors %}
    {{ form.non_field_errors }}
    {% endif %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% else %}
    {{ field }} {% if field.help_text or field.errors %} {{ field.errors }} {{ field.help_text }} {% endif %}
    {% endif %} {% endfor %}

    Comments

    {% get_comment_list for image as comment_list %} {% for comment in comment_list %}
    {{ comment.user_name }} {{ comment.submit_date|date:"d-M" }}
    {{ comment.comment }}
    {% endfor %}
    {% render_comment_form for image %}
    {% endblock %}