Artberry-web/templates/register.html
2025-03-07 01:37:22 +02:00

28 lines
1.1 KiB
HTML

{% extends "auth.html" %}
{% block title %}🫐register - artberry🫐{% endblock %}
{% set action = 'auth.register' %}
{% block content %}
<form method="POST" action="{{ url_for(action) }}">
{{ form.hidden_tag() }}
<label for="{{ form.username.id }}">{{ form.username.label.text }}</label>
{{ form.username(class="input-field", placeholder="Enter username") }}<br>
<label for="{{ form.password.id }}">{{ form.password.label.text }}</label>
{{ form.password(class="input-field", placeholder="Enter password") }}<br>
<label for="{{ form.confirm_password.id }}">{{ form.confirm_password.label.text }}</label>
{{ form.confirm_password(class="input-field", placeholder="Repeat password") }}<br>
<div class="recaptcha-container">
{{ form.recaptcha.label }}
{{ form.recaptcha() }}<br>
</div>
{{ form.submit(class="login-button button", value="Register") }}
</form>
<div class="link-container">
<span class="link-text">Already have an account?</span>
<a href="{{ url_for('auth.login') }}" class="button">Login</a>
</div>
{% endblock %}