{% load i18n %} {% load wagtailcore_tags %}
{{ 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.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 %}