{% set colsClass = 'col-xl-6 col-lg-6 col-md-6 col-xs-12' %} {% set requireSymbol = '*' %}

{{ 'Update Subject'|trans }} {{ subjectForEdit.subjectName }} {{ 'for' |trans }} {{ className }} {{ 'class' | trans }}

{% if subjectForEdit.getClasses.id is defined %} {% endif %} {# subject name #}
{# subject short name #}
{# subject Credit Hours #}
{# subject Fee #}
{# Marks #}
{# Pass Marks #}
{# Assing teacher to the subject #} {% if teacherList is defined %}
{% endif %} {% if subjectForEdit.getHidden is defined %} {# Hidden option #}
{# Is subject is hidden from selection dropdown #}
{% endif %}

{% if teacherList is defined %} {# list of assigned teacher with the Subjects #} {% set attachedTeacher = subjectForEdit.getAllocateTeacherToClassAndSubjects.toArray %}
{{ 'Teacher Assigned:'|trans }}

{% for value in attachedTeacher %} {% if value.getClassSubject is not empty %} {% endif %} {% endfor %}
{{ 'Name'|trans }} {{ 'Email'|trans }} {{ 'Assign From'|trans }} {{ 'Assign To'|trans }} {{ '#'|trans }}
{{ value.getTeacher.getFullName }} {{ value.getTeacher.getEmail }} {{ date_format( value.getAssignFromDate ) }} {{ date_format( value.getAssignToDate ) }}
{% endif %}