{% set need_js = True %} {% set title = "Edit post" %} {% extends "base.html" %} {% block body %}
{{ form.errors['comment'][0] }} {% endif %}
{{ form.comment(rows=16, cols=80) }} {% if g.is_grader %}
{{ form.points.label }} {{ form.points(size=6) }} / {{ g.topic.max_points or "?" }} {% if form.errors['points'] %}
{{ form.errors['points'][0] }} {% endif %} {% endif %}
Preview:
{{ form.submit(class='ok', accesskey='s') }} {{ form.silent_submit(class='ok',title="Submit, but do not send notifications.") }} Preview
{{ form.delete(class='danger') }}