gosora/templates/create-topic.html
Azareal 9fce51a3d7 Added the InternalErrorJS and LocalErrorJS error handler functions.
Hid the themes which aren't under construction yet from the Theme Manager.
Fixed a bug in the BBCode parser where every post had ten spaces appended to them.
Added the get_reply() internal API function for plugins to make use of.
Added the bell to the theme.
Fixed some bits of the Cosmo theme where the rowhead wasn't appearing.
Added a "Don't have an account?" link to the login page.

I began work on the alerts system, I took a little break, so it's a little further behind than you might expect, but it shouldn't take too long for me to finish it up.
I haven't finished the back-end portions of it yet, so there's not much to see yet!
2017-02-28 09:27:28 +00:00

25 lines
970 B
HTML

{{template "header.html" . }}
<div class="rowblock">
<div class="rowitem rowhead"><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" . }}