summaryrefslogtreecommitdiff
path: root/templates/direct_vote_form.html
blob: 3b656f202a440cf6d200b37b14f5b4b9037a75fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ template "header" . }}
<a href="/motions/">Show all votes</a>
<table class="list">
    <thead>
    <tr>
        <th>Status</th>
        <th>Motion</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        {{ with .Decision }}
        {{ template "motion_fragment" .}}
        {{ end}}
    </tr>
    </tbody>
</table>

<form action="/vote/{{ .Decision.Tag }}/{{ .VoteChoice }}" method="post">
    <input type="submit" value="Vote {{ .VoteChoice }}"/>
</form>
{{ template "footer" . }}