1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00
AdvLabDB/advlabdb/templates/register.html
2021-04-01 01:04:21 +02:00

32 lines
925 B
HTML

{% extends "layout.html" %}
{% block content %}
<div class="content-section">
<form method="POST" action="">
{{form.hidden_tag()}}
<fieldset>
<div>
{{form.email.label(class="form-control-label")}}
{% if form.email.errors %}
{{form.email(class="form-control form-control-lg is-invalid")}}
<div class="invalid-feedback">
{% for error in form.email.errors %}
<span>{{ error }}</span>
{% endfor %}
</div>
{% else %}
{{form.email(class="form-control form-control-lg")}}
{% endif %}
</div>
<div class="form-check">
{{form.admin(class="form-check-input")}}
{{form.admin.label(class="form-check-label")}}
</div>
</fieldset>
<br>
<div>
{{form.submit(class="btn btn-outline-info")}}
</div>
</form>
</div>
{% endblock content %}