{% extends 'layouts/app.html' %} {% import 'macros/items.html' as items %} {% block title %}Betting history{% endblock %} {% block body %}

## Betting history

{% if bets.total == 0 %}

No bets found.

{% else %}

Date | Guess | Roll | Wagered | Payout | Net
--- | --- | --- | --- | --- | ---
{% for bet in bets.items %}
{{ bet.created_on }} | {{ bet.guess }} | {{ bet.roll }} ({{ bet.die_1 }} + {{ bet.die_2 }}) | {{ bet.wagered }} | {{ bet.payout }}x | {{ bet.net }}
{% endfor %}

{{ items.paginate(bets) }} {% endif %}

Go back to your account {% endblock %}