Browse Source

Upload picture has a better design.

testing
Rogier Neeleman 4 years ago
parent
commit
9e25d8c5e4
  1. 15
      app/templates/catch_bunny.html

15
app/templates/catch_bunny.html

@ -2,11 +2,18 @@
{% import 'bootstrap/wtf.html' as wtf %} {% import 'bootstrap/wtf.html' as wtf %}
{% block player_app_content %} {% block player_app_content %}
<h1>Catch Bunny</h1>
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-xs-0 col-md-1"></div>
{{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} <div class="col-xs-8 col-md-4">
<h1>Catch Bunny</h1>
<form action="" method="post" class="form" role="form" enctype="multipart/form-data">
{{ form.hidden_tag() }}
{{ wtf.form_field(form.bunny) }}
{{ wtf.form_field(form.photo) }}
{{ wtf.form_field(form.submit, class='btn btn-primary') }}
<a href="{{ url_for('main.game_dashboard', game_name=game.name) }}"><button type="button" class="btn btn-warning">Back</button></a>
</form>
</div> </div>
<div class="col-xs-0 col-md-7"></div>
</div> </div>
<a href="{{ url_for('main.game_dashboard', game_name=game.name) }}">back</a>
{% endblock %} {% endblock %}
Loading…
Cancel
Save