{{define "body"}}
{{if .Data}}
<div class="page-header">
    <div class="row">
        <div class="col-xs-4 offset-4">
            <div class="card border-danger mx-auto">
                <div class="card-header">
                    <strong>Delete {{.Data}}?</strong>
                </div>
                <div class="card-body">
                    <p>You are about to delete section <a href="/{{.Data}}">{{.Data}}</a>.<br>This will also remove all pages of this section.</p>
                    <form class="form-horizontal" action="/section/del/{{.Data}}" method="post">
                        <input type="hidden" name="token" value="{{.Token}}">
                        <button class="btn btn-sm btn-danger" type="submit">Delete</button>
                        <a href="/{{.Data}}" class="btn btn-sm btn-primary">Back</a>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{{end}}
{{end}}
