improve handling of utf-8 request params
[gae-samples.git] / voterlator / templates / index.html
blob3989a94ac63a0ee2a75341d49728291be4348121
1 {% extends "base.html" %}
2 {% block body %}
3 <form action="/" method="post">
4 Vote for the ugliest language! <br/>
5 {% for lang in LANGUAGES %}
6 <input type="radio" name="ugliest" value={{lang}} />{{lang}}<br/>
7 {% endfor %}
8 <input type="submit" value="Ugly!" /><br/>
9 </form>
10 <table>
11 <thead><th>Language</th><th>Count</th></thead>
12 {% for tally in tallies %}
13 <tr>
14 <th>{{tally.key.name}}</th>
15 <td>{{tally.count}}</td>
16 </tr>
17 {% endfor %}
18 </table>
19 {% endblock %}