You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<!-- templates/signup.html -->
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="column is-4 is-offset-4">
|
|
<h3 class="title">Sign Up</h3>
|
|
<div class="box">
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="notification is-danger">
|
|
{{ messages[0] }}. Go to <a href="{{ url_for('auth.login') }}">login page</a>.
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
<form method="POST" action="/signup">
|
|
<div class="field">
|
|
<div class="control">
|
|
<input class="input is-large" type="email" name="email" placeholder="Email" autofocus="">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<div class="control">
|
|
<input class="input is-large" type="text" name="name" placeholder="Name" autofocus="">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<div class="control">
|
|
<input class="input is-large" type="password" name="password" placeholder="Password">
|
|
</div>
|
|
</div>
|
|
|
|
<button class="button is-block is-info is-large is-fullwidth">Sign Up</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |