{% if assignment is defined %}
Assignment: {{ assignment.assignment }}
{% endif %}
{% if candidate is defined %}
Candidate: {{ candidate.firstName }} {{ candidate.lastName }}
{% endif %}
{% if result is defined %}
Call type: {{ result }}
{% endif %}
{% if calendartimezone is not empty %}
Calendar Timezone: {{ calendartimezone }}
{% else %}
Calendar Timezone: Not defined.
{% endif %}
{{ form_start(form, { "action": path("new_calendar_event", {"assignmentId":assignment.id, "candidateId":candidate.id}), "attr": { "id": "ajaxModalForm", "class": "ajaxModalForm" } }) }}
{# {{ form_errors(form) }} #}
{{ form(form)}}
{{ form_end(form) }}
{% include 'include/insert_form_js.html.twig' %}