{{define "body"}}
<h2 class="list-heading">List</h2>
{{template "flashes" .}}

<textarea class="form-control" name="template" placeholder="Template"  rows="16" cols="80">{{.template}}</textarea>

<div class="row">
    <div class="col-xs-2">
        <form method="POST" action="/news/export" class="confirm-export">
            {{ .csrfField }}
            <input class="btn btn-lg btn-primary btn-block" type="submit" value="Export" />
        </form>
    </div>

    <div class="col-xs-6">
        Click this to mark the current queue of news items as exported (clearing them)
    </div>
    <div class="col-xs-2"></div>
    <div class="col-xs-2"><b>{{.count}}</b> news items</div>


</div>
{{end}}