{% extends "base.html" %} {% block content %} {% if session['user']['isProfessor'] %} {% include 'modular/professor_view.html'%} {% else %} {% include 'modular/student_view.html' %} {% endif %} {% endblock %}