diff options
Diffstat (limited to 'apioforum/templates/edit_post.html')
| -rw-r--r-- | apioforum/templates/edit_post.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apioforum/templates/edit_post.html b/apioforum/templates/edit_post.html index 275f97f..573fd4e 100644 --- a/apioforum/templates/edit_post.html +++ b/apioforum/templates/edit_post.html @@ -1,12 +1,18 @@ {% from 'common.html' import disp_post %} {% extends 'base.html' %} {% block header %} -<h1>{%block title%}editing post{%endblock%}</h1> +<h1>{%block title%}editing {% if post.wiki == 1 %}wiki{% endif %} post{%endblock%}</h1> {% endblock %} {% block content %} <form method="post"> <textarea class="new-post-box" name="newcontent">{{post.content}}</textarea> +{% if post.wiki == 1 %} +<p> +<label for="comment">comment</label> +<input type="text" id="comment" name="comment" placeholder="fixed spelling issues"> +</p> +{% endif %} <p>confirm edit?</p> <input type="submit" value="confirm"> <a href="{{post_jump(post.id)}}">cancel</a> |
