This commit is contained in:
AndrewTrieu
2023-03-12 16:21:18 +02:00
parent d6d09df845
commit b3065cfce1
10 changed files with 30 additions and 27 deletions

View File

@@ -6,7 +6,7 @@
<% it.details.forEach((item) => { %>
<p><form action="/topics/<%= it.topicId %>/questions/<%= it.id %>/options/<%= item.id %>/delete" method="POST">
Content: <%= item.option_text %>; Correctness: <%= item.is_correct %>
<input type="submit" value="Delete pption" />
<input type="submit" value="Delete option" />
</form></p>
<% }); %>
<% } else { %>
@@ -16,7 +16,7 @@
</form>
<% } %>
<h2>Add an answer pption</h2>
<h2>Add an answer option</h2>
<% if (it.errors) { %>
<ul>