{% extends "main/layout.html" %} {% load static %} {% block content %}

{{ legend|upper }} {% if group == 'hr' %} {% include "employee_detail/header.html" %} {% endif %}
{% if page == 'basic' %} {% include "employee_detail/basic.html" %} {% elif page == 'onboarding' %} {% include "employee_detail/onboarding.html" %} {% elif page == 'leave' %} {% include "employee_detail/leave.html" %} {% elif page == 'attendance' %} {% include "employee_detail/attendance.html" %} {% elif page == 'trip' %} {% include "employee_detail/trip.html" %} {% elif page == 'training' %} {% include "employee_detail/training.html" %} {% elif page == 'perform' %} {% include "employee_detail/evaluation.html" %} {% elif page == 'error' %} {% include "employee_detail/error.html" %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}