@Master['master.html']
@Model['CreateOrEditOrder']
@Section['Content']
<form class="mt-3" method="post">
    <div class="row mt-2">
        <div class="control-group mb-3">
            <div class="controls">
                <button type="submit" class="btn btn-primary">Besitzer wechseln</button>
            </div>
        </div>
    </div>

    <div class="row mt-2">
        <h3>
            Besitzer des Auftrages '@!Model.Name' ändern
        </h3>
    </div>

    <div class="row">
        <div class="col">
            <div class="form-group">
                <small id="NameHelp" class="form-text text-muted">Neuen Besitzer auswählen</small>
                <select name="Owner" class="form-control" id="Owner" placeholder="Bitte neuen Besitzer auswählen.">
                    @Each.Owners
                    <option value="@Current.Value" @If.IsSelected selected @EndIf>@Current.Name</option>
                    @EndEach
                </select>
            </div>
        </div>
    </div>

</form>
@EndSection
