
<div class="floating-header">
    <a href="{% url 'shorts:question_detail' pk=question.pk %}" title="View the Question">View</a>
    <a href="{% url 'shorts:question_update' pk=question.pk %}" title="Edit the Question">Edit</a>
    <a href="{% url 'shorts:question_clone' pk=question.pk %}" title="Clone the Question (duplicate everything but the images)">Clone</a>
    <a href="{% url 'shorts:question_delete' pk=question.pk %}" title="Delete the Question">Delete</a>
    <a href="{% url 'shorts:question_sample_answers' pk=question.pk %}" title="Update the question sample answers">Edit Sample Answers</a>
    <a href="{% url 'shorts:question_findings' question_id=question.pk %}" title="Editing the question findings">Edit Findings</a>
    <a href="#" onclick="return window.create_popup_window('{% url 'feedback_create' question_type='rapid' pk=question.pk %}')"> Add Note</a>
    {% if request.user.is_superuser %}
        <a href="{% url 'admin:shorts_question_change' question.id %}" title="Edit the Question using the admin interface">Admin Edit</a>
        <a href="{% url 'shorts:question_user_answers' question.id %}" title="View user answers associated with this question">User answers</a>
    {% endif %}
    {% if exam %}
        <div>

            {% if previous > -1 %}
                <a href="{% url 'shorts:exam_question_detail' exam.id previous %}">Previous question</a>
            {% endif %}
            Viewing question as part of exam: <a href="{% url 'shorts:exam_overview' exam.id %}">{{exam}}</a> [{{pos}}/{{exam_length}}]
            {% if next %}
                <a href="{% url 'shorts:exam_question_detail' exam.id next %}">Next question</a>
            {% endif %}
        </div>
    {% endif %}
</div>