Jan Dittberner
94dcb5bd75
- implement custom http.Filesystem boardvoting.AssetFS - replace "footer" and "header" with "footer.html" and "header.html" - change renderTemplate to use Assets - use boardvoting.GetAssetFS() with http.Fileserver
21 lines
674 B
HTML
21 lines
674 B
HTML
{{ template "header.html" . }}
|
|
<div class="column">
|
|
<div class="ui basic segment">
|
|
<div class="ui floated right secondary menu">
|
|
<a href="/motions/" class="item" title="Show all votes">Back to motions</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ with .Decision }}
|
|
<div class="column">
|
|
<div class="ui raised segment">
|
|
{{ template "motion_fragment" . }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
<form action="/motions/{{ .Decision.Tag }}/withdraw" method="post">
|
|
<div class="ui form">
|
|
<button class="ui primary left labeled icon button" type="submit"><i class="trash icon"></i> Withdraw</button>
|
|
</div>
|
|
</form>
|
|
{{ template "footer.html" . }}
|