2010-04-14 20:03:44 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
xmlns:py="http://genshi.edgewall.org/">
|
|
|
|
<xi:include href="layout.html" />
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Poll list</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>All polls</h1>
|
|
|
|
<p py:if="errors" class="error">Error:
|
|
|
|
<ul>
|
|
|
|
<li py:for="message in errors.values()">${message}</li>
|
|
|
|
</ul>
|
|
|
|
</p>
|
|
|
|
<p><a href="${base_url}polls/new" title="Create a new poll">Create a new poll</a></p>
|
|
|
|
<ul py:if="polls">
|
|
|
|
<li py:for="poll in polls">
|
2010-04-15 12:32:45 +02:00
|
|
|
<a href="${poll.get_admin_url()}" title="Details of poll ${poll.title}">
|
2010-04-14 20:03:44 +02:00
|
|
|
Poll: ${poll.title} (${poll.get_num_of_submissions()}/${poll.get_num_of_submitters()})
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|