2016-02-10 17:03:09 +01:00
|
|
|
{% from "_helpers.html" import render_field %}
|
2016-03-20 16:10:00 +01:00
|
|
|
{% extends "_base.html" %}
|
2016-02-10 17:03:09 +01:00
|
|
|
{% block content %}
|
2016-03-20 16:10:00 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>Create user</h1>
|
|
|
|
</div>
|
2016-03-21 21:43:25 +01:00
|
|
|
<form class="form-horizontal" method="POST">
|
2016-03-20 16:10:00 +01:00
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
{{ render_field(form.user) }}
|
|
|
|
{{ render_field(form.uid) }}
|
|
|
|
{{ render_field(form.sn) }}
|
|
|
|
{{ render_field(form.gn) }}
|
|
|
|
{{ render_field(form.pwd1) }}
|
|
|
|
{{ render_field(form.pwd2) }}
|
2016-03-21 21:43:25 +01:00
|
|
|
<div class="form-group"><div class="col-sm-offset-2 col-sm-10">{{ form.submit(class_="btn btn-primary") }}</div></div>
|
2016-03-20 16:10:00 +01:00
|
|
|
</form>
|
2016-02-10 17:03:09 +01:00
|
|
|
{% endblock %}
|