Add ability to edit comments

This commit is contained in:
rubenwardy
2020-07-11 03:52:56 +01:00
parent 08f6bd8bef
commit dfbcbbbb47
5 changed files with 95 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block title %}
{{ _("Edit reply") }} - {{ thread.title }}
{% endblock %}
{% block content %}
<h1>{{ _("Edit reply") }}</h1>
{% from "macros/forms.html" import render_field, render_submit_field %}
<form method="POST" action="" enctype="multipart/form-data">
{{ form.hidden_tag() }}
{{ render_field(form.comment, label="", class_="m-0", fieldclass="form-control markdown") }} <br />
{{ render_submit_field(form.submit) }}
</form>
{% endblock %}