{{ define "title" }}Motion {{ .Motion.Tag }}{{ end }}

{{ define "main" }}
{{ $voter := .User }}
{{ with .Motion }}
<div class="ui raised segment">
    {{ template "motion_display" . }}
    {{ if $voter }}{{ template "motion_actions" . }}{{ end }}
</div>
{{ end }}
{{ end }}