console/app/templates/default/id/registration.html
2015-12-01 02:46:00 +03:00

41 lines
1.7 KiB
HTML

{% extends "default/_layout.html" %}
{% block title %}Регистрация{% endblock %}
{% block content %}
<div class="row">
<div class="large-6 columns">
<h2>Регистрация</h2>
{% if g.errors['total'] > 0 %}
<div id='errors'>
<ul>
{% for error in g.errors['items'] %}
<li>{{ error }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<form action="{{ url_for('account.registration') }}" method="post">
<input type="hidden" name="method" value="member_add" />
<label for="email">
Адрес ел. почты
<input type="text" name="email" value="" class="email" id="email" />
</label>
<label for="password">
Пароль
<input type="password" name="password" value="" id="password" />
</label>
<label for="password2">
Пароль (повторно)
<input type="password" name="password2" value="" id="password2" />
</label>
{# <input type="checkbox" name="agree1" value="1" /> I agree <a href="">&Prime;Terms of Service&Prime;</a><br/>#}
{# <input type="checkbox" name="agree2" value="1" /> I agree <a href="">&Prime;Privacy Policy&Prime;</a><br/>#}
<input type="submit" value="Зарегистрироваться" class="button success" />
</form>
</div>
<div class="large-6">
&nbsp;
</div>
</div>
{% endblock %}