{% load i18n %} {% load wagtailcore_tags %}

{{ value.heading }}

{% for education in value.educations %} {% if education.block_type == "degree" %} {% with education.value as degree %} {{ degree.university_name }}

{{ degree.degree }}, {{ degree.field_of_study }}

{{ degree.studies_starting_date|date:"Y" }} - {{ degree.studies_ending_date|date:"Y"}}

{% endwith %} {% elif education.block_type == "certificate" %} {% with education.value as certificate %} {{ certificate.institute_name }} - {% trans "Certificate" %}

{{ certificate.name }}

{{ certificate.studies_starting_date|date:"m/Y" }} - {{ certificate.studies_ending_date|date:"m/Y"}}

{% endwith %} {% elif education.block_type == "course" %} {% with education.value as course %} {{ course.name }} - {% trans "Course" %}

{{ course.studies_starting_date|date:"m/Y" }} - {{ course.studies_ending_date|date:"m/Y"}}

{% endwith %} {% endif %} {% endfor %}