Bug fix
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
<form method="POST" action="/topics/<%= it.topicId %>/questions/<%= it.id %>/options">
|
||||
Option:<br/>
|
||||
<textarea name="option_text"><%= it.optionText ? it.optionText : "" %></textarea><br/>
|
||||
<input type="text" name="option"/><br/>
|
||||
Correct:
|
||||
<input type="checkbox" name="correct"/>
|
||||
<input type="submit" value="Add"/>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<form method="POST" action="/topics/<%= it.topicId %>/questions">
|
||||
Text:<br/>
|
||||
<textarea name="question_text"><%= it.question ? it.question : "" %></textarea><br/>
|
||||
<input type="text" name="question"/><br/>
|
||||
<input type="submit" value="Add"/>
|
||||
</form>
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<% if (it.admin) { %>
|
||||
<form method="POST" action="/topics">
|
||||
Name:<br/>
|
||||
<input type="text" name="name" value="<%= it.name ? it.name : "" %>"/><br/>
|
||||
<input type="text" name="name"/><br/>
|
||||
<input type="submit" value="Add"/>
|
||||
</form>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user