1 {% extends
"base.html" %}
7 <div class=
"col-xs-12">
8 <h2><a href=
"{{ deck.ponyhead_link }}">{{ deck.description }}
</a></h2>
9 <p>Decks similiar to yours and their placement in past tournaments:
</p>
10 <form class=
"form" action=
"/meta/rate" method=
"post" role=
"form">
16 <th colspan=
"2">Date
</th>
18 {% for deck, record in similiar reversed %}
19 <tr class=
"{% if not record.verified %}warning{% endif %}">
20 <td><a href=
"{{ deck.ponyhead_link }}">{{ deck.name }}
</a></td>
21 <td>{{ record.placement|ordinal }}
</td>
22 <td><a href=
"/meta/tournaments/{{ record.tournament.id }}">{{ record.tournament.name }}
</a></td>
23 <td>{{ record.tournament.date }}
</td>
24 <td>{% if not record.verified %}user-submitted{% endif %}
</td>
29 <strong>Played this deck in a tournament? Add your result here!
</strong>
30 <p class=
"help-block">This helps you and us to get a better overview over the meta-game.
</p>
34 <input type=
"hidden" name=
"url" value=
"{{ deck.ponyhead_link }}"/>
36 <td><input type=
"text" name=
"d_name" class=
"form-control" placeholder=
"Deck name"/></td>
38 <select name=
"t_placement" class=
"form-control">
39 <option value=
"1">1st
</option>
40 <option value=
"2">2nd
</option>
41 <option value=
"3">3rd
</option>
42 <option value=
"4">4th
</option>
43 <option value=
"5">5th
</option>
44 <option value=
"6">6th
</option>
45 <option value=
"7">7th
</option>
46 <option value=
"8">8th
</option>
49 <td><input type=
"text" name=
"t_name" class=
"form-control typeahead-tournaments" placeholder=
"Tournament name"/></td>
50 <td><input type=
"date" name=
"t_date" class=
"form-control"/></td>
51 <td><button type=
"submit" class=
"btn btn-primary">Submit
</button></td>