~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/poll/view.html

  • Committer: Holger Rapp
  • Date: 2009-03-28 12:03:48 UTC
  • Revision ID: sirver@kallisto.local-20090328120348-id7kvvww2nxhauwd
First draft version of wlpoll, a poll application

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base.html" %}
 
2
{% comment %}
 
3
   vim:ft=htmldjango
 
4
{% endcomment %}
 
5
 
 
6
{% load wlpoll %}
 
7
 
 
8
{% block content %}
 
9
<h1>Hallo</h1>
 
10
 
 
11
{% for c in poll.choices.all %}
 
12
{{ c }}<br/>
 
13
{% endfor %}
 
14
 
 
15
{{poll.total_votes}}
 
16
 
 
17
{% display_poll poll %}
 
18
 
 
19
{% endblock %}