Finish code base
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<% it.data.forEach(item => { %>
|
||||
<li><%= item.option_text %></li>
|
||||
<% }); %>
|
||||
<ul>
|
||||
</ul>
|
||||
<% } else { %>
|
||||
<p>Correct options are not found.</p>
|
||||
<% } %>
|
||||
|
||||
@@ -39,5 +39,7 @@ Name:<br/>
|
||||
<input type="text" name="name"/><br/>
|
||||
<input type="submit" value="Add"/>
|
||||
</form>
|
||||
<% } else { %>
|
||||
<p>You must be an admin to add a topic.</p>
|
||||
<% } %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user