{{define "body"}}
<div class="page-header">
    <div class="row">
        <h2>{{.BodyTitle}}</h2>
    </div>
</div>
<div class="row mt-3">
    <div class="col-xs-6">
        <form class="form-horizontal" action="/search" method="post">
            <input type="hidden" name="token" value="{{.Token}}">
            <div class="form-group">
                <div class="input-group">
                    <input type="text" class="form-control input-sm" placeholder="Search" name="search" value="{{.Search}}" autocomplete="off" autofocus>
                    <div class="input-group-append">
                        <button class="btn btn-sm btn-primary" type="submit">Search</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<div class="row mt-3">
    <div class="col">
        {{range $item := .Data}}
        <a href="/{{$item.StoreTitle}}"><b>{{$item.Section}} / {{$item.Title}}</b></a>
        <pre class="wrap">{{$item.HTML}}</pre><br>
        {{end}}
    </div>
</div>
{{end}}
