{% extends "geonode_base.html" %} {% load static %} {% load i18n %} {% load bootstrap_tags %} {% block title %}{% trans "Create Message" %} — {{ block.super }}{% endblock %} {% block body %}

{% trans "Create Message" %}

{% csrf_token %} {% if form.non_field_errors %}
{% if form_error_title %} {{ form_error_title }}
{% endif %} {% if form.non_field_errors|length == 1 %} {{ form.non_field_errors|first }} {% else %} {{ form.non_field_errors }} {% endif %}
{% endif %} {% include 'user_messages/_field_group_header.html' with form=form field_name="to_users" %} {% include 'user_messages/_field_error_block.html' with form=form field_name="to_users" %} {# Begginig div is in the _field_group_header file#} {% include 'user_messages/_field_group_header.html' with form=form field_name="to_groups" %} {% include 'user_messages/_field_error_block.html' with form=form field_name="to_groups" %} {% include 'user_messages/_field_group_header.html' with form=form field_name="subject" %} {% include 'user_messages/_field_error_block.html' with form=form field_name="subject" %} {% include 'user_messages/_field_group_header.html' with form=form field_name="content" %} {% include 'user_messages/_field_error_block.html' with form=form field_name="content" %}
{% endblock %} {% block sidebar %} {% trans "Back to Inbox" %} {% endblock %}