{% extends "manage.html" %} {% block title %} Add teacher {% endblock title %} {% block subtitle %} {{ course.name }} {% endblock %} {% block css %} {% endblock %} {% block content %}

Add Teachers for this course


Search teacher with username, firstname, lastname, email


{% csrf_token %} Search Teacher:



{% csrf_token %} {% if success == True %} {% if teachers|length == 0 %}

No results found

{% else %}
Search Results

Search results does not include teachers already added

{% for teacher in teachers %} {% if teacher not in course.get_teachers %} {% endif %} {% endfor %}
Username First Name Last Name Email Institute Department Position
{{ teacher.username }} {{ teacher.first_name }} {{ teacher.last_name }} {{ teacher.email }} {{ teacher.profile.institute }} {{ teacher.profile.department }} {{ teacher.profile.position }}

{% endif %} {% endif %}
{% if status == True %}
{% if teachers_added %} {% for teacher in teachers_added %}
{{ teacher.get_full_name }}
{% endfor %} {% else %}
No Teacher(s) Added
{% endif %}
{% endif %} {% endblock %}