{% extends "admin/layout.html" %} {% set active_menu_item = ['comments', 'edit'] %} {% block title %}{% trans "Edit Comment" %}{% endblock %} {% block contents %}

{% trans "Edit Comment" %}

{%- if errors %}

{% trans "Error when processing the Data" %}

{%- for error in errors %}

{{ error|e }}

{%- endfor %}

{% trans "Hide message" %}...

{%- endif %}
{% trans "Author" %} {{ h.input_field('author', form.author) }}
{% trans "E-Mail" %} {{ h.input_field('email', form.email) }}
{% trans "Webpage" %} {{ h.input_field('www', form.www) }}
{% trans "Text" %} {{ h.textarea('body', form.body, rows=7) }}
{% trans "Date" %} {{ h.input_field('pub_date', form.pub_date) }}
{% trans "Block Comment" %} {{ h.checkbox('blocked', 'yes', form.blocked) }} {% if comment.blocked %} {% else %} {% endif %}
{% endblock %}