{% extends "generic/supervisor_base.html" %}
<!-- {% load static from static %} -->
{% load crispy_forms_tags %}

{% block css %}
<style>
</style>

{% endblock %}
{% block js %}
<!--<script type="text/javascript" src="/admin/jsi18n/"></script>-->
{{form.media}}

<script type="text/javascript">
</script>

<!-- {{ form.media }} -->
{% endblock %}
{% block content %}
<h2>Edit Supervisor / {{object.cid}}</h2>
<p>Use this form to create / edit a supervisor</p>
<p>Trainees can be assigned to a supervisor by editing the trainee and selecting the supervisor from the drop down list.</p>
{% if errors %}
    <div class="alert alert-info" role="alert">{{errors}}</a></div>
{% endif %}
<form action="" method="post" enctype="multipart/form-data" id="condition-form">
    {% csrf_token %}

    <table>
        {{ form|crispy }}
    </table>
    <input type="submit" class="submit-button" value="Submit" name="submit">
</form>
{% endblock %}