{% extends "base.html" %}

{% block content %}
<div class="feed">
<div class="card">
    <h2>Register</h2>
    <form action="{{ url_for('register') }}" method="POST">
        <input type="nickname" name="nickname" placeholder="nickname" required maxlength="16" required><br>
        <input type="email" name="email" placeholder="email" required><br>
        <input type="password" name="password" placeholder="password" required><br>
        <button type="submit">Зарегистрироваться</button>
    </form>
    <p>Уже есть аккаунт? <a href="{{ url_for('login') }}">Войти</a></p>
</div>
</div>
{% endblock %}
