{% extends 'anatomy/base.html' %}

{% block content %}
{% for question in questions %}
<div class="anatomy">
    <div class="date">
        {{ question.created_date|date:"d/m/Y" }}
    </div>
    <h1><a href="{% url 'anatomy:question_detail' pk=question.pk %}">{% for answer in question.answers.all %}
            {{ answer }},
            {% endfor %}
        </a></h1>
    <p>{{ question.question_type.first|linebreaksbr }}</p>
    <img src="/media/anatomy/{{ question.image|linebreaksbr }}" />
    <a href="{% url 'anatomy:answer_question' pk=question.pk %}">ANSWER</a>
</div>
{% endfor %}
{% endblock %}

{$ black navigation %}