aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/staff/jams/forms/questions_edit.html2
-rw-r--r--templates/staff/jams/forms/questions_view.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/staff/jams/forms/questions_edit.html b/templates/staff/jams/forms/questions_edit.html
index af143540..d029cc33 100644
--- a/templates/staff/jams/forms/questions_edit.html
+++ b/templates/staff/jams/forms/questions_edit.html
@@ -7,7 +7,7 @@
{% endblock %}
{% block content %}
<div class="uk-container uk-container-small uk-section">
- <h1>Question Edit: {{ question.id }}</h1>
+ <h1>Question Edit</h1>
<form class="uk-form-horizontal" method="post" action="{{ url_for("staff.jams.forms.questions.edit", question=question.id) }}">
<div>
diff --git a/templates/staff/jams/forms/questions_view.html b/templates/staff/jams/forms/questions_view.html
index eb545451..c9d5098c 100644
--- a/templates/staff/jams/forms/questions_view.html
+++ b/templates/staff/jams/forms/questions_view.html
@@ -221,7 +221,7 @@
const no_questions_paragraph = document.getElementById("no-questions-paragraph");
let all_questions = {{ question_ids | safe }};
- const question_edit_url = "{{ url_for("staff.jams.forms.questions.edit", question="{NONE}") }}";
+ const question_edit_url = "{{ url_for("staff.jams.forms.questions.edit", question="NONE") }}";
const add_button = document.getElementById("add-button");
const modal = UIkit.modal(document.getElementById("question-modal"));
@@ -575,7 +575,7 @@
}
let type = toTitleCase(question.type);
- let q_url = question_edit_url.replace("{NONE}", question.id);
+ let q_url = question_edit_url.replace("NONE", question.id);
const row = `
<td class="uk-table-shrink">