df5f70ee6b
Added a lock indicator for forums you don't have permission to post in. Added a New Topic option in forums you have permission to post in. General is now the default forum for topics. /topics/ no longer shows topics for forums you aren't able to access.
25 lines
962 B
HTML
25 lines
962 B
HTML
{{template "header.html" . }}
|
|
<div class="rowblock">
|
|
<div class="rowitem"><a>Create Topic</a></div>
|
|
</div>
|
|
<div class="rowblock">
|
|
<form action="/topic/create/submit/" method="post">
|
|
<div class="formrow">
|
|
<div class="formitem"><a>Board</a></div>
|
|
<div class="formitem"><select name="topic-board">
|
|
{{range .ItemList}}<option {{if eq .ID $.FID}}selected{{end}} value="{{.ID}}">{{.Name}}</option>{{end}}
|
|
</select></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><a>Topic Name</a></div>
|
|
<div class="formitem"><input name="topic-name" type="text" placeholder="Topic Name" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><textarea name="topic-content" placeholder="Insert content here"></textarea></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><button name="topic-button" class="formbutton">Create Topic</div></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{{template "footer.html" . }} |