29 lines
902 B
HTML
Executable File
29 lines
902 B
HTML
Executable File
{% extends "generic/base.html" %}
|
|
<!-- {% load static from static %} -->
|
|
|
|
{% 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>Edit User / {{ciduser.cid}}</h2>
|
|
Use this form to create a user. Only existing supervisors can be added (<a href="{% url 'generic:supervisor_create' %}">create them first</a> and refresh this page or add them later if they do not exist).
|
|
{% 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.as_table }}
|
|
</table>
|
|
<input type="submit" class="submit-button" value="Submit" name="submit">
|
|
</form>
|
|
{% endblock %} |