{% extends "admin/components/base.html" %} {% block title %} SKA Referee Test | Edit Exam {% endblock %} {% block content %}

Edit Exam

  • Exam Code

    {{ '—'.join([test.test_code[:4], test.test_code[4:8], test.test_code[8:]]) }}

  • Dataset
    {{ test.dataset }}
  • Created By
    {{ test.creator }}
  • Date Created
    {{ test.date_created.strftime('%d %b %Y') }}
  • Expiry Date
    {{ test.start_date.strftime('%d %b %Y') }}
  • Expiry Date
    {{ test.expiry_date.strftime('%d %b %Y') }}
  • Time Limit
    {% if test.time_limit == None -%} None {% elif test.time_limit == 60 -%} 1 hour {% elif test.time_limit == 90 -%} 1 hour 30 min {% elif test.time_limit == 120 -%} 2 hours {% else -%} {{ test.time_limit }} {% endif %}
  • {% if 'entries' in test and test.entries|length > 0 %}

    {% for entry in test.entries %} {% endfor %}
    Entry {{ loop.index }}
    {% endif %} {% if 'time_adjustments' in test and test.time_adjustments|length > 0 %}

    {% for key, value in test.time_adjustments.items() %} {% endfor %}
    User Code Adjustment (Minutes) Delete
    {{ key }} {{ value }}
    {% endif %} {% if not test.time_limit == None %}

    {{ form.hidden_tag() }}
    {{ form.time(class_="form-control", placeholder="Enter Username") }} {{ form.time.label }}
    {% endif %}
{% include "admin/components/client-alerts.html" %}
{% endblock %}