Implement proper model, actions and template structure
[cacert-boardvoting.git] / templates / motion.html
1 {{ template "header" . }}
2 <a href="/motions/">Show all votes</a>
3 {{ $voter := .Voter }}
4 <table class="list">
5 <thead>
6 <th>Status</th>
7 <th>Motion</th>
8 {{ if $voter}}
9 <th>Actions</th>
10 {{ end }}
11 </thead>
12 <tbody>
13 <tr>
14 {{ with .Decision }}
15 {{ template "motion_fragment" .}}
16 {{ if $voter }}{{ template "motion_actions" . }}{{ end }}
17 {{ end}}
18 </tr>
19 </tbody>
20 </table>
21 {{ template "footer" . }}