@using PantheonRA.BackOffice.Enums
@model PantheonRA.WebApi.Contracts.PayOrderChangeStatus
@using PantheonRA.BackOffice.Models

@{
    ViewBag.Title = "ChangeStatus";
}

<div class="row">
    <div class="col-md-12">
        <div class="ibox">
            <div class="ibox-title ibox-title-borderless">
                @Html.Partial("_FormButtons", new FormButtonsViewModel
           {
               BackUrl = Url.Action("Index", "PayOrders"),
               SaveButtonGroup = new FormButtonGroup
               {
                   Buttons = new List<FormButton>
                        {
                            new FormButton { Text = Loc.Save, Icon = "fa fa-save fa-lg", IsSubmit = true }
                        }
               }
           })
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-lg-4">
                        <div class="form-group">
                            <div class="col-lg-4">
                                @Html.Label("Status", new { @class = "control-label m-t-xs custom-label" })
                            </div>
                            <div class="col-md-8">
                                @Html.EditorFor(model => model.NextStatus, new { htmlAttributes = new { @class = "form-control", @required = "required", @placeholder = Loc.CarRegNo } })
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

@* TODO: remove after refactor *@
@section pageScripts{
    @Scripts.Render("~/bundles/validation")
    <script src="~/Scripts/global-script.js"></script>
}