{% extends 'rb/emails/reservations/base_email_to_user.txt' %}
{% block subject_prefix %}{% endblock %}
{% block subject -%}{% trans room=reservation.room.full_name, start=reservation.start_dt|format_datetime('short') -%}
    [{{ room }}] Booking rejected ({{ start }})
{%- endtrans %}{%- endblock %}

{% block email_body -%}
    {%- filter dedent -%}
        {% trans %}Your booking has been REJECTED by the manager of the room.{% endtrans %}

        {% trans %}Rejection reason:{% endtrans %}
        {{ reservation.rejection_reason }}

        {% include 'rb/emails/reservations/reservation_info.txt' %}
    {%- endfilter -%}
{%- endblock %}
