2016-12-02 07:38:54 +00:00
|
|
|
{{template "header.html" . }}
|
|
|
|
<div class="rowblock">
|
2017-02-28 09:27:28 +00:00
|
|
|
<div class="rowitem rowhead"><a>Create Topic</a></div>
|
2016-12-02 07:38:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowblock">
|
|
|
|
<form action="/topic/create/submit/" method="post">
|
|
|
|
<div class="formrow">
|
2017-05-29 14:52:37 +00:00
|
|
|
<div class="formitem formlabel"><a>Board</a></div>
|
2017-02-05 14:41:53 +00:00
|
|
|
<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">
|
2017-05-29 14:52:37 +00:00
|
|
|
<div class="formitem formlabel"><a>Topic Name</a></div>
|
2016-12-02 07:38:54 +00:00
|
|
|
<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">
|
2017-03-05 07:53:41 +00:00
|
|
|
<div class="formitem"><button name="topic-button" class="formbutton">Create Topic</button></div>
|
2016-12-02 07:38:54 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
{{template "footer.html" . }}
|