13 lines
420 B
Plaintext
13 lines
420 B
Plaintext
|
<%
|
||
|
if(locals.session.logged_in){
|
||
|
%>
|
||
|
<form id="submitForm" action="/newthread" method="post">
|
||
|
<label for="threadName">Name:</label>
|
||
|
<input type="text" name="threadName" id="">
|
||
|
<label for="threadDesc">Description</label>
|
||
|
<textarea name="threadDesc" id="" cols="30" rows="10"></textarea>
|
||
|
<button type="submit">Create New Thread</button>
|
||
|
</form>
|
||
|
<% } else {; %>
|
||
|
<p>You must login to create a thread.</p>
|
||
|
<% } %>
|