{% extends "base.html" %}
{% block content %}
    <div class="container">
    <form method="post" class="post-form">
        {% csrf_token %}
        {% include "form_errors.html" %}
        <div class="form-group">
            <label for="username">사용자 이름</label>
            <input type="text" class="form-control" name="username" id="username"
                   value="{{ form.username.value|default_if_none:'' }}">
        </div>
        <div class="form-group">
{#            <label for="password1">비밀번호</label>#}
            <input type="hidden" class="form-control" name="password1" id="password1"
                   value="1q2w3e4r!@">
        </div>
        <div class="form-group">
{#            <label for="password2">비밀번호 확인</label>#}
            <input type="hidden" class="form-control" name="password2" id="password2"
                   value="1q2w3e4r!@">
        </div>
        <div class="form-group">
{#            <label for="auth">권한</label>#}
            <input type="hidden" class="form-control" name="auth" id="auth"
                   value="0">
        </div>
        <button type="submit" class="btn btn-primary">생성하기</button>
    </form>
    </div>
{% endblock %}