add most mod routes
This commit is contained in:
13
app/templates/mod/new_topic.html
Normal file
13
app/templates/mod/new_topic.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{%- from 'common/macros.html' import subheader -%}
|
||||
{%- extends 'base.html' -%}
|
||||
{%- block title -%}creating a topic{%- endblock -%}
|
||||
{%- block content -%}
|
||||
{{subheader('Create topic', 'The new topic will appear at the bottom of the current topic list. You can sort it later.')}}
|
||||
<form class="plank primary-bg full-width" method="POST">
|
||||
<label for="name">Name</label>
|
||||
<input type="text" id="name" name="name" required>
|
||||
<label for="description">Description</label>
|
||||
<textarea name="description" id="description" rows="5" required></textarea>
|
||||
<input type="submit" value="Create">
|
||||
</form>
|
||||
{%- endblock -%}
|
||||
Reference in New Issue
Block a user