diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2026-04-03 16:26:39 -0700 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2026-04-03 16:26:39 -0700 |
| commit | 97ccdd6fedaec5b0547d7a7e138f30a3389b845a (patch) | |
| tree | ad6a85a52bac6558547f0db028a2c80d9ffded4f /templates | |
| parent | dc5096c18c6b98f410fd769f989c5404de44ba71 (diff) | |
register page
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 1 | ||||
| -rw-r--r-- | templates/login.html | 1 | ||||
| -rw-r--r-- | templates/register.html | 21 |
3 files changed, 23 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index 41fab17..56c97e7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -27,6 +27,7 @@ <a href="{{ url_for('logout') }}">Logout ({{ current_user.username }})</a> {% else %} <a href="{{ url_for('login') }}">Login</a> + <a href="{{ url_for('register') }}">Join the League</a> {% endif %} </nav> </header> diff --git a/templates/login.html b/templates/login.html index f8f19b6..6c8e1c2 100644 --- a/templates/login.html +++ b/templates/login.html @@ -13,4 +13,5 @@ </div> <button type="submit">Login</button> </form> + <p>Don't have an account? <a href="{{ url_for('register') }}">Create one here</a>.</p> {% endblock %}
\ No newline at end of file diff --git a/templates/register.html b/templates/register.html new file mode 100644 index 0000000..1405920 --- /dev/null +++ b/templates/register.html @@ -0,0 +1,21 @@ +{% extends "base.html" %} + +{% block content %} + <h2>Create New Team Account</h2> + <form method="POST" action="{{ url_for('register') }}"> + <div> + <label for="username">Username:</label> + <input type="text" id="username" name="username" required> + </div> + <div> + <label for="password">Password:</label> + <input type="password" id="password" name="password" required> + </div> + <div> + <label for="team_name">Team Name:</label> + <input type="text" id="team_name" name="team_name" required> + </div> + <button type="submit">Create Account</button> + </form> + <p>Already have an account? <a href="{{ url_for('login') }}">Login here</a>.</p> +{% endblock %}
\ No newline at end of file |
