{% extends 'checkIn/layout.html' %}

{% block body %}
<div class="alert alert-danger" role="alert">
    <button value="返回" onClick="window.location.href='/addon/luckydraw/?c_ID={{c_ID}}'" class="btn btn-default">返回</button><br /><br />
    <table class="table table-striped">
        <caption>
            <h4>恭喜以下各位抽中<u>{{award}}</u>。</h4><br />
        </caption>
        <tr>
            {% for k in keys %}
                <th>{{k}}</th>
            {% endfor %}
            <th>中奖状态</th>
        </tr>
        {% for r in result %}
            <tr>
                {% for k in r %}
                    <th>{{k}}</th>
                {% endfor %}
            </tr>
        {% endfor %}
    </table>
    <button value="返回" onClick="window.location.href='/addon/luckydraw/?c_ID={{c_ID}}'" class="btn btn-default">返回</button>
 </div>
{% endblock %}