blob: f16567632628fb2251cc944ace0480ef56f7fc12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}{%if create %}create{% else %}edit{%endif%} forum{% endblock %}</h1>
{% endblock %}
{% block content %}
<form method="POST">
<label for="name">forum name</label>
<input name="name" id="name" value="{{name}}" placeholder="apioforum" required maxlength="100"/>
<br>
<label for="description">forum description (markdown enabled)</label>
<textarea
name="description"
id="description"
class="forum-desc-box"
placeholder="this is a forum for discussing bees"
maxlength="6000"
required
>{{description}}</textarea>
<p>
<input type="submit" value="confirm">
<a href="{{cancel_link}}">cancel</a>
</p>
</form>
{% endblock %}
|