{% extends "email/base.html" %}
{% load inflections %}

{% block body %}
    <p>Добрый день!</p>
    <p>
        <a href="{{ staff_url }}{{ initiator.username }}">
            {{ initiator.full_name }}</a>
        отменил{% if initiator.gender == 'female' %}а{% endif %} секцию
        <a href="{{ femida_url }}interviews/{{ instance.id }}">
            "{{ instance.section }}"</a> с кандидатом
        <a href="{{ femida_url }}candidates/{{ instance.candidate_id }}">
            {{ instance.candidate.get_full_name | inflect_fio:5 }}</a>.
    </p>
    {% if instance.cancel_reason %}
        <p>{{ instance.cancel_reason|linebreaksbr }}</p>
    {% endif %}
{% endblock %}
