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

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

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

<!-- {{ form.media }} -->
{% endblock %}
{% block content %}
<h2>Create User</h2>
Use this form to create a user. Create a trainee <a href="{% url 'create_trainee' %}">here</a>.
{% 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 %}