Refractoring

This commit is contained in:
2025-04-16 09:57:05 +02:00
parent 5f083928ba
commit e089805f31
6 changed files with 56 additions and 57 deletions

View File

@@ -1,29 +0,0 @@
{% extends 'base_template.html' %}
{% block title %}
Register
{% endblock %}
{% block content %}
<form class="bg-body-tertiary" method="POST">
{{ form.hidden_tag() }}
{% if feedback %}
<p class="feedback">{{feedback}}</p>
{% endif %}
<div>
{{ form.username.label }} <br> {{ form.username() }}
</div>
<div>
{{ form.password.label }} <br> {{ form.password() }}
</div>
<div>
{{ form.confirm_password.label }} <br> {{ form.confirm_password() }}
</div>
<div>
{{ form.is_admin }} {{ form.is_admin.label }}
</div>
<div class="submit">
{{ form.submit() }}
</div>
</form>
{% endblock %}