{% extends 'base_site.html' %} {% load crispy_forms_tags %} {% load core_tags_and_filters %} {% load i18n %} {% load blocks_tags %} {% load core_messages_tags_and_filters %} {% load user_tags %} {% load rules %} {% block user_menu_messages_class %}active{% endblock %} {% block title %}{% get_other_participant chat user as other %}{{ other.user.name }} / {% translate 'Messages' %} / {% block site_title %}{{ block.super }}{% endblock %}{% endblock %} {% block content %} {% get_other_participant chat user as other %} {% has_perm 'messages.send_message' user other as can_send_message %}
{% blocktranslate context request.user.get_gender with user_name=other.user.name %}Send a message to {{ user_name }}{% endblocktranslate %}
{% crispy form %}