matemat/templates/userbootstrap.html

25 lines
803 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block main %}
<h1>Welcome</h1>
{# Show a user creation form #}
Please create an admin user account
<form method="post" action="/userbootstrap" accept-charset="UTF-8">
<label class="form-label" for="username">Username: </label>
<input class="form-control" id="username" type="text" name="username"/><br/>
<label class="form-label" for="password">Password: </label>
<input class="form-control" id="password" type="password" name="password"/><br/>
<label class="form-label" for="password2">Repeat: </label>
<input class="form-control" id="password2" type="password" name="password2"/><br/>
<input class="btn btn-success" type="submit" value="Create user">
</form>
{{ super() }}
{% endblock %}