This commit is contained in:
Ross
2022-04-26 20:27:42 +01:00
parent 281775aa3d
commit e35fea2c71
2 changed files with 11 additions and 6 deletions
@@ -65,6 +65,12 @@
{{form}}
{% if collection.publish_results %}</fieldset>{% endif %}
</div>
<p>
{% if collection.publish_results %}
<h4>Answer score: {{answer.score}}</h4>
Answer feedback: {{answer.feedback|safe}}
{% endif %}
</p>
{% if previous > -1 %}
<button type="submit" name="previous" class="save btn btn-default">Previous</button>
{% endif %}
@@ -76,14 +82,15 @@
{% endif %}
{% endif %}
{% if collection.publish_results %}
Answer score: {{answer.score}}<br />
Answer feedback: {{answer.feedback|safe}}
{% endif %}
<br />
<button type="submit" name="finish" class="save btn btn-default">Overview</button>
<button type="submit" id="goto-button" value="test" name="goto" class="hide">goto</button>
</form>
<style>
label {
vertical-align: top;
}
{% endblock %}
{% block js %}
@@ -23,8 +23,6 @@
This exam is not associated with any user groups. Edit and add a group to enable user management.
{% endif %}
<a href="{% url 'generic:manage_cids' %}">Manage CIDs here</a>
<script>
$(document).ready(() => {
$(".toggle-btn").click((el) => {