mirror of
https://github.com/Sudo-JHare/SMARTFLARE-Smart-App-Gallery.git
synced 2025-07-30 02:35:33 +00:00
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
<!--app/templates/register_user.html-->
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h1>Register</h1>
|
|
<form method="POST">
|
|
{{ form.hidden_tag() }}
|
|
<div class="mb-3">
|
|
{{ form.username.label(class="form-label") }}
|
|
{{ form.username(class="form-control") }}
|
|
{% for error in form.username.errors %}
|
|
<span class="text-danger">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="mb-3">
|
|
{{ form.email.label(class="form-label") }}
|
|
{{ form.email(class="form-control") }}
|
|
{% for error in form.email.errors %}
|
|
<span class="text-danger">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="mb-3">
|
|
{{ form.password.label(class="form-label") }}
|
|
{{ form.password(class="form-control") }}
|
|
{% for error in form.password.errors %}
|
|
<span class="text-danger">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="mb-3">
|
|
{{ form.confirm_password.label(class="form-label") }}
|
|
{{ form.confirm_password(class="form-control") }}
|
|
{% for error in form.confirm_password.errors %}
|
|
<span class="text-danger">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
{{ form.submit(class="btn btn-primary") }}
|
|
</form>
|
|
<p class="mt-3">Already have an account? <a href="{{ url_for('auth.login') }}">Login</a></p>
|
|
{% endblock %} |