added training

This commit is contained in:
2026-03-09 21:48:34 +01:00
parent d1017bae51
commit d81f8a611f
110 changed files with 4393 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
{% extends "base.html" %}
{% block content %}
<div class="register-container">
<h2>Sign Up</h2>
<form method="POST">
<div>
<label for="username">Username</label>
<input type="text" name="username" id="username" required>
</div>
<div>
<label for="password">Password</label>
<input type="password" name="password" id="password" required>
</div>
<button type="submit">Sign Up</button>
</form>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<div class="message-container">
{% for category, message in messages %}
<p class="error">{{ message }}</p>
{% endfor %}
</div>
{% endif %}
{% endwith %}
<br>
<a href="{{ url_for('login') }}">Login</a></h2>
</div>
{% endblock %}