2016-12-02 07:38:54 +00:00
|
|
|
{{template "header.html" . }}
|
2017-08-20 09:39:02 +00:00
|
|
|
<main>
|
|
|
|
<div class="rowblock rowhead">
|
2017-08-27 09:33:45 +00:00
|
|
|
<div class="rowitem"><h1>Create Topic</h1></div>
|
2017-08-20 09:39:02 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowblock">
|
|
|
|
<form action="/topic/create/submit/" method="post">
|
|
|
|
<div class="formrow real_first_child">
|
|
|
|
<div class="formitem formlabel"><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 formlabel"><a>Topic Name</a></div>
|
2017-08-20 10:11:49 +00:00
|
|
|
<div class="formitem"><input name="topic-name" type="text" placeholder="Topic Name" required /></div>
|
2017-08-20 09:39:02 +00:00
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem formlabel"><a>Content</a></div>
|
2017-08-20 10:11:49 +00:00
|
|
|
<div class="formitem"><textarea class="large" name="topic-content" placeholder="Insert content here" required></textarea></div>
|
2017-08-20 09:39:02 +00:00
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem"><button name="topic-button" class="formbutton form_middle_button">Create Topic</button></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</main>
|
2017-05-29 14:52:37 +00:00
|
|
|
{{template "footer.html" . }}
|