add most mod routes
This commit is contained in:
13
app/templates/mod/edit_topic.html
Normal file
13
app/templates/mod/edit_topic.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{%- from 'common/macros.html' import subheader -%}
|
||||
{%- extends 'base.html' -%}
|
||||
{%- block title -%}editing topic {{topic.name}}{%- endblock -%}
|
||||
{%- block content -%}
|
||||
{{subheader('Editing topic %s' % topic.name, 'To preserve history, the URL of the topic can not be changed.')}}
|
||||
<form class="plank primary-bg full-width" method="POST">
|
||||
<label for="name">Name</label>
|
||||
<input type="text" id="name" name="name" required value="{{topic.name}}">
|
||||
<label for="description">Description</label>
|
||||
<textarea name="description" id="description" rows="5" required>{{topic.description}}</textarea>
|
||||
<input type="submit" value="Save">
|
||||
</form>
|
||||
{%- endblock -%}
|
||||
Reference in New Issue
Block a user