{% extends "root.html" %} {% block head %} Create post - {{ config.name }} {% endblock %} {% block body %} {{ macros::nav() }}
{% if drafts|length > 0 -%}
{{ icon "plus" }} {{ text "general:action.post" }} {{ icon "notepad-text-dashed" }} {{ text "communities:label.drafts" }}
{%- endif %}
{{ icon "pen" }} {{ text "communities:label.create_post" }}
{% if draft -%} {%- endif %} {% if quoting -%} {%- endif %}
{{ components::avatar(username=user.id, size="32px", selector_type="id") }}
{{ components::create_post_options() }}
{% if not quoting -%} {% if draft -%} {% else %} {%- endif %} {%- endif %}
{% if not quoting -%} {% else %} {%- endif %}
{% if drafts|length > 0 -%} {%- endif %}
{% endblock %}