{% load administration_extras %} {% load bootstrap3 %} {% load staticfiles %} {% load maths_extras %} {% bootstrap_css %} {% bootstrap_javascript %} {% bootstrap_messages %} Matistikk - {{ test }} {# #} {# #}

Vennligst vent mens testen lastes inn.

{% for item in items %}
{% if forloop.first %} {% endif %} {% if item.task.extra %} {% get_geogebra_task item.task as geogebratask %}

Oppgave {{ forloop.counter }}

{% if item.task.answertype == 1 %}
{% elif item.task.answertype == 2 %}
{% get_mutiplechoice item.task as multiplechoicetasks %} {% for multiplechoicetask in multiplechoicetasks %}
{% if multiplechoicetask.question %} {% else %} {% endif %}
{% get_multiplechoice_options_length multiplechoicetask as length %} {% for option in multiplechoicetask.multiplechoiceoption_set.all %} {% if length > 50 %} {% if multiplechoicetask.checkbox %}
{% else %}
{% endif %} {% else %} {% if multiplechoicetask.checkbox %} {% else %} {% endif %} {% endif %} {% endfor %}

{% endfor %}
{% elif item.task.answertype == 4 %}
{% get_inputfields item.task as inputfields %} {% for inputfield in inputfields %}

{{ inputfield.question }}

{% for inputs in inputfield.inputfield_set.all %}
{% if inputs.fraction %}
{% endif %}
{% endfor %}
{% if not forloop.last or item.task.reasoning %}
{% endif %} {% endfor %}
{% endif %} {% if item.task.reasoning %}
{% endif %}
{% else %}

Ditt brukernavn: {{ request.user.username }}

Oppgave {{ item.id }} - Bruker-Elo: {{ request.user.elo_rating }}

{% if item.task.answertype == 1 %}
{% elif item.task.answertype == 2 %}
{% get_mutiplechoice item.task as multiplechoicetasks %} {% for multiplechoicetask in multiplechoicetasks %}
{% if multiplechoicetask.question %} {% else %} {% endif %}
{% get_multiplechoice_options_length multiplechoicetask as length %} {% for option in multiplechoicetask.multiplechoiceoption_set.all %} {% if length > 50 %} {% if multiplechoicetask.checkbox %}
{% else %}
{% endif %} {% else %} {% if multiplechoicetask.checkbox %} {% else %} {% endif %} {% endif %} {% endfor %}

{% endfor %}
{% elif item.task.answertype == 4 %}
{% get_inputfields item.task as inputfields %} {% for inputfield in inputfields %}

{{ inputfield.question }}

{% for inputs in inputfield.inputfield_set.all %}
{% if inputs.fraction %}
{% endif %}
{% endfor %}
{% if not forloop.last or item.task.reasoning %}
{% endif %} {% endfor %}
{% endif %} {% if item.task.reasoning %}
{% endif %}
{% endif %}
{% if forloop.last %}

Fullfør

{% comment %}{% endcomment %} {% for item_summary in items %} {% comment %}{% endcomment %} {% endfor %}
Oppgave StatusGå til
Oppgave {{ item_summary.id }} Status Gå til oppgave
{% endif %} {% endfor %}