Artberry-web/templates/register.html
2025-02-16 16:38:57 +02:00

32 lines
1.2 KiB
HTML

<link rel="icon" href="{{ url_for('static', filename='artberry.ico') }}" type="image/x-icon">
{% extends "auth.html" %}
{% block title %}🫐register - artberry🫐{% endblock %}
{% set action = '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('login') }}" class="button">Login</a>
</div>
{% endblock %}