{{define "body"}}
<div class="row">
    <div class="col-xs-4 offset-4">
        <div class="card border-primary mx-auto">
        <div class="card-header">
            <strong>{{.BodyTitle}}</strong>
        </div>
        <div class="card-body">
            <p>Create new directory in <a href="{{.Path}}">{{.Path}}</a>.</p>
            <form class="form-horizontal" action="/new{{.Path}}" method="post">
                <input type="hidden" name="token" value="{{.Token}}">
                <div class="form-group">
                    <label class="col-form-label" for="name">Name</label>
                    <input class="form-control input-sm" type="text" id="name" name="name" autocomplete="off" value="{{.Data}}">
                </div>
                <button class="btn btn-sm btn-primary" type="submit">Create</button>
            </form>
        </div>
        </div>
    </div>
</div>
{{end}}
