You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block app_content %}
<h1>Add Player To Game</h1>
<h2>Add Existing Player</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 Player</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 %}