diff options
Diffstat (limited to 'templates/motion.html')
-rw-r--r-- | templates/motion.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/motion.html b/templates/motion.html new file mode 100644 index 0000000..66e4ce0 --- /dev/null +++ b/templates/motion.html @@ -0,0 +1,21 @@ +{{ template "header" . }} +<a href="/motions/">Show all votes</a> +{{ $voter := .Voter }} +<table class="list"> + <thead> + <th>Status</th> + <th>Motion</th> + {{ if $voter}} + <th>Actions</th> + {{ end }} + </thead> + <tbody> + <tr> + {{ with .Decision }} + {{ template "motion_fragment" .}} + {{ if $voter }}{{ template "motion_actions" . }}{{ end }} + {{ end}} + </tr> + </tbody> +</table> +{{ template "footer" . }}
\ No newline at end of file |