{% extends "poet/base.html" %}

{% load static i18n render_html_field %}

{% block page_heading %}
    <h1>
        <small class="text-muted">POET Statistics</small><br>
        {{ resource.title }}
    </h1>
{% endblock page_heading %}

{% block content_container %}
    <div class="col-12">
        <p><strong>Target progress outcome:</strong> {{ resource.target_progress_outcome.label }}</p>

        <div class="resource-content my-3 p-3 border rounded">
            <h4>{{ resource.title }}</h4>
            {% render_html_field resource.content %}
        </div>

        <p><strong>Total submissions for resource:</strong> {{ total_submissions }}</p>

        {% include "poet/widgets/progress-outcome-table.html" %}

        <h3>Feedback</h3>
        {% if feedback_submissions %}
            {% for submission in feedback_submissions %}
                <p>{{ submission.feedback }}</p>
            {% endfor %}
        {% else %}
            <p>No feedback available.</p>
        {% endif %}
    </div>
{% endblock content_container %}

{% extends "poet/base.html" %}

{% load static i18n %}

{% block page_heading %}
    <h1>
        <small class="text-muted">POET Statistics</small><br>
        {{ resource.title }}
    </h1>
{% endblock page_heading %}

{% block content_container %}
    <div class="col-12">
        <p><strong>Target progress outcome:</strong> {{ resource.target_progress_outcome.label }}</p>

        <div class="resource-content my-3 p-3 border rounded">
            <h4>{{ resource.title }}</h4>
            {{ resource.content|safe }}
        </div>

        <p><strong>Total submissions for resource:</strong> {{ total_submissions }}</p>

        {% include "poet/widgets/progress-outcome-table.html" %}

        <h3>Feedback</h3>
        {% if feedback_submissions %}
            {% for submission in feedback_submissions %}
                <p>{{ submission.feedback }}</p>
            {% endfor %}
        {% else %}
            <p>No feedback available.</p>
        {% endif %}
    </div>
{% endblock content_container %}

Revert use of template tag
Revert use of template tag
