mirror of
https://github.com/csd4ni3l/debt-by-ai.git
synced 2026-01-01 04:23:45 +01:00
36 lines
1.3 KiB
Django/Jinja
36 lines
1.3 KiB
Django/Jinja
{% extends "base.jinja2" %}
|
|
|
|
{% block title %}Debt by AI Register{% endblock %}
|
|
|
|
{% block nav %}
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/">Home</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="/login">Login</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link active" aria-current="page" href="/register">Register</a>
|
|
</li>
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="d-flex justify-content-center align-items-center" style="height: 75vh;">
|
|
<div class="bg-dark rounded rounded-5 border border-2 border-white p-4">
|
|
<form action="/register" method="post">
|
|
<h2>Register</h2>
|
|
<div class="form-group" style="margin-top: 4%;">
|
|
<label for="usernameinput">Username</label>
|
|
<input name="username" class="form-control" id="usernameinput" placeholder="Enter username">
|
|
</div>
|
|
|
|
<div class="form-group" style="margin-top: 4%;">
|
|
<label for="passwordinput">Password</label>
|
|
<input type="password" name="password" class="form-control" id="passwordinput" placeholder="Enter password">
|
|
</div>
|
|
|
|
<button id="submit" type="submit" class="btn btn-primary mx-auto d-block" style="width: 100%; margin-top: 4%;">Submit</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |