{% extends "layout/navigation.html" %} {* vim: set et ai ts=2 sw=2 enc=utf-8: *} {% block "html/head" %} {% endblock %} {% block "title" %}{% trans "New Post" %}{% endblock %} {% block "trace" %} » {% for item in pathbar %} {{ item.name|e }} » {% endfor %} {% trans "New Post" %} {% endblock %} {% block "bodytag" %} onload="initEditor('text', 'toolbar', 'preview', 'prev_text', editor_options)"{% endblock %} {% block "content" %} {% prepare 'errorbox' accepting errors %} {% if errors %} {% endif %} {% endprepare %} {% if system.conf.messages.newpostnotice %}

Notice

{{ system.conf.messages.newpostnotice|e }}
{% endif %}

{% if mode equals 'reply' %}{% trans "Reply to Post" %}{% endif %} {% if mode equals 'edit' %}{% trans "Edit Post" %}{% endif %}

{% if show_username_entry %} {% trans "Username" %}: {% call 'errorbox' form.username.errors %}
{% endif %} {% trans "Title" %}: {% call 'errorbox' form.title.errors %}

{% trans "Text" %}:
{% call 'errorbox' form.text.errors %}

{% trans "Latest posts" %}

{% endblock %}