1 {% extends
"base.html" %}
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/>
8 <input type=
"submit" value=
"Ugly!" /><br/>
11 <thead><th>Language
</th><th>Count
</th></thead>
12 {% for tally in tallies %}
14 <th>{{tally.key.name}}
</th>
15 <td>{{tally.count}}
</td>