Coverage for gui/templates/gui/vote.html: 100%

19 statements  

« prev     ^ index     » next       coverage.py v7.2.1, created at 2023-03-14 06:24 +0000

1{% extends 'gui/base.html' %} 

2  

3{% load bootstrap3 %} 

4  

5{% block content %} 

6 <h1>Vote for the ballot '{{ballot.short_name}}'</h1> 

7  

8 <div class="panel panel-default" > 

9 <div class="panel-heading">Ballot description</div> 

10 <div class="panel-body"> 

11 {{ballot.description|safe|linebreaks}} 

12 </div> 

13 </div> 

14  

15 <form method="post"> 

16 {% csrf_token %} 

17 {% bootstrap_form form %} 

18 {% buttons %} 

19 <button type="submit" class="btn btn-primary pull-right"> 

20 Cast vote 

21 </button> 

22 {% endbuttons %} 

23 </form> 

24{% endblock %}