diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/withdraw_motion_form.html | 22 | ||||
-rw-r--r-- | templates/withdraw_motion_mail.txt (renamed from templates/withdraw_mail.txt) | 4 |
2 files changed, 22 insertions, 4 deletions
diff --git a/templates/withdraw_motion_form.html b/templates/withdraw_motion_form.html new file mode 100644 index 0000000..809ce28 --- /dev/null +++ b/templates/withdraw_motion_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="/motions/{{ .Decision.Tag }}/withdraw" method="post"> + <input type="submit" value="Withdraw" /> +</form> +{{ template "footer" . }} diff --git a/templates/withdraw_mail.txt b/templates/withdraw_motion_mail.txt index 4ccf4de..fb3ed87 100644 --- a/templates/withdraw_mail.txt +++ b/templates/withdraw_motion_mail.txt @@ -1,7 +1,3 @@ -From: {{ .Sender }} -To: {{ .Recipient }} -Subject: Re: {{ .Tag }} - {{ .Title }} - withdrawn - Dear Board, {{ .Name }} has withdrawn the motion {{ .Tag }} that was as follows: |