{% extends "layout/basic.html" %} {% import "components/form.html" as form with context %} {% block content %}

{{ _('Edit Question') if qdoc else _('New Question') }}

{% if not qdoc and pdoc %} {% endif %} {{ form.form_textarea({ columns: 12, label: _('Content'), name: 'content', value: qdoc.content, markdown: true, required: true, extra_style: 'height: 400px; margin-top: 0;' }) }}
{% if pdoc %} {% endif %} {% if qdoc and handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) %}

{{ _('Action') }}

{% endif %}
{% endblock %}