summaryrefslogtreecommitdiff
path: root/templates/direct_vote_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/direct_vote_form.html')
-rw-r--r--templates/direct_vote_form.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/direct_vote_form.html b/templates/direct_vote_form.html
new file mode 100644
index 0000000..3b656f2
--- /dev/null
+++ b/templates/direct_vote_form.html
@@ -0,0 +1,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" . }} \ No newline at end of file