% layout("./layouts/layout.eta") %>
Topic <%= it.topicId %>: <%= it.topicName %>
All topic questions
<% if (it.currentQuestions && it.currentQuestions.length > 0) { %>
<% } else { %>
No question available for this topic.
<% } %>
Add a question
<% if (it.errors) { %>
<% Object.keys(it.errors).forEach((error) => { %>
<% Object.values(it.errors[error]).forEach((err) => { %>
- <%= err %>
<% }); %>
<% }); %>
<% } %>