{% 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 %}
{{ components::avatar(username=user.id, size="32px", selector_type="id") }}
{{ components::emoji_picker(element_id="content", render_dialog=true) }} {% if is_supporter -%} {{ components::file_picker(files_list_id="files_list") }} {%- endif %}
{% if draft -%} {% else %} {%- endif %}
{% if drafts|length > 0 -%} {%- endif %}

{% endblock %}