Burathar
5 years ago
4 changed files with 67 additions and 5 deletions
@ -0,0 +1,28 @@
@@ -0,0 +1,28 @@
|
||||
{% 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 %} |
Loading…
Reference in new issue