Tweeder/templates/register.html

25 lines
No EOL
1.7 KiB
HTML

{% extends 'layout.html' %}
{% block content %}
<div class="container">
{% if status %}
<div class="alert alert-{{ status }}" role="alert">{{ message }}</div>
{% endif %}
<div class="card col-xl-6 col-md-8 col-sm-10 col-xs-12 mx-auto">
<div class="card-body">
<h2 class="mx-auto" style="display:inline;">Register for Tweeder</h2>
<a href="/login" class="btn btn-outline-primary" style="float:right;">Have an account?</a>
<form method="POST" action="/register" class="form-group">
<input name="username" type="text" class="form-control" style="margin-bottom: 12px; margin-top: 12px; height:45px;" tabindex="1" placeholder="Username" />
<small id="usernameHelpBlock" class="form-text text-muted">
Your username must be under 15 characters long, can contain letters and numbers, and must not contain spaces, special characters, or emoji.
</small>
<input name="email" type="text" class="form-control" style="margin-bottom: 12px; margin-top: 12px; height:45px;" tabindex="2" placeholder="Email address" />
<input name="password" type="password" class="form-control" style="margin-bottom: 12px; height:45px;" tabindex="3" placeholder="Password" />
<input name="confirm-password" type="password" class="form-control" style="margin-bottom: 12px; height:45px;" tabindex="4" placeholder="Confirm Password" />
<input type="submit" class="form-control btn btn-success" />
</form>
</div>
</div>
</div>
{% endblock %}