diff --git a/templates/motions.html b/templates/motions.html
index ef84757..414c399 100644
--- a/templates/motions.html
+++ b/templates/motions.html
@@ -1,10 +1,10 @@
{{ template "header" . }}
+{{ $voter := .Voter }}
{{ if .Params.Flags.Unvoted }}
Show all votes
-{{ else }}
+{{ else if $voter }}
Show my outstanding votes
{{ end }}
-{{ $voter := .Voter }}
{{ if .Decisions }}