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.
18 lines
609 B
18 lines
609 B
5 years ago
|
{% extends "base.html" %}
|
||
|
{% import 'bootstrap/wtf.html' as wtf %}
|
||
|
|
||
|
{% block app_content %}
|
||
|
<h1>Player: {{ player.name }}</h1>
|
||
|
<hr>
|
||
|
<div class="row">
|
||
|
<div class="col-md-4 col-sm-6 col-xs-8">
|
||
|
<form action="" method="post" class="form" role="form">
|
||
|
{{ form.hidden_tag() }}
|
||
|
{% for gameplayer in player.player_games if gameplayer.game == game %}
|
||
|
{{ wtf.form_field(form.role, class='form-control') }}
|
||
|
{% endfor %}
|
||
|
{{ wtf.form_field(form.submit, class='btn btn-primary', value='Update') }}
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|