{% load crispy_forms_tags %} {% load juntagrico.common %} {% load i18n %} {# add people to job #} {% if add_form %}
{% spaceless %} {% endspaceless %}
{% include "../modals/add_assignment.html" with name='add_assignment' %} {% endif %} {% if not participants %} {% trans "Noch niemand" %} 🥺 {% else %} {# button to contact all #} {% if can_contact %} {% block send_mail %} {% trans "Allen ein E-Mail senden" %} {% endblock %} {% endif %} {# Modal for editing assignment #} {% if can_edit_assignments %} {% include "./modal_edit_assignment.html" with name='edit_assignment' %} {% endif %} {% if can_contact %} {% include "../modals/participant_details.html" with name='participant_details' %} {% endif %} {% endif %}