{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}

{% block app_content %}
<h1>Add Player To Game</h1>
<h2>Add Existing User</h2>
<div class="row">
    <div class="col-md-4">
        <form action="" method="post" class="form" role="form">
            {{ form_add.hidden_tag() }}
            {{ wtf.form_field(form_add.name, class='form-control') }}
            {{ wtf.form_field(form_add.role, class='form-control') }}
            {{ wtf.form_field(form_add.submit_add, class='btn btn-primary', value='Add') }}
        </form>
    </div>
</div>
<h2>Create new User</h2>
<div class="row">
    <div class="col-md-4">
        <form action="" method="post" class="form" role="form">
            {{ form_create.hidden_tag() }}
            {{ wtf.form_field(form_create.name, class='form-control') }}
            {{ wtf.form_field(form_create.role, class='form-control') }}
            {{ wtf.form_field(form_create.submit_create, class='btn btn-primary', value='Create') }}
        </form>
    </div>
</div>
{% endblock %}