LocalGovIMS_localgov-ims/src/Admin/Views/EReturnNote/Create.cshtml
@model Admin.Models.EReturnNote.EditViewModel
@{
    ViewBag.Title = "Create eReturn note";
}

@section Messages {
    @if (TempData.ContainsKey("Message") && TempData["Message"] != null) { Html.RenderPartial("_Message", TempData["Message"]); }
}


@section Header { Create eReturn notes }

@section Subheader { eReturn note details }

@using (Html.BeginForm("Create", "EReturnNote", FormMethod.Post))
{
    @Html.HiddenFor(m => m.EReturnId)

    <div>

        <div class="row mb-3">
            <div class="col-12 col-sm-9 col-md-7 col-lg-6">
                @Html.LabelFor(m => m.Note, new { @class = "form-label" })
                @Html.TextAreaFor(m => m.Note, new { @class = "form-control" })
                <div class="form__element--error">
                    @Html.ValidationMessageFor(m => m.Note)
                </div>
            </div>
        </div>

        <div>
            <input type="submit" value="Save" class="btn btn-primary" />
            @Html.ActionLink("Back", "Back", "EReturnNote", null, new { @class = "btn btn-secondary" })
        </div>

    </div>
}