@model ParcelWeb.Core.Domain.Status @{ ViewBag.Title = "Edit"; }

Edit Delivery Status

@using (Html.BeginForm("Edit", "Status", FormMethod.Post, new { @class = "form form-horizontal" })) { @Html.AntiForgeryToken() @Html.HiddenFor(model =>model.Id)

Delivery Status Detail

@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Name, htmlAttributes: new { @class = "label-control col-md-2" })
@Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control", @readonly="true" } }) @Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ImageUrl, htmlAttributes: new { @class = "label-control col-md-2" })
@Html.EditorFor(model => model.ImageUrl, new { htmlAttributes = new { @class = "form-control", @readonly = "true" } }) @Html.ValidationMessageFor(model => model.ImageUrl, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Description, htmlAttributes: new { @class = "label-control col-md-2" })
@Html.EditorFor(model => model.Description, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Description, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Active, htmlAttributes: new { @class = "label-control col-md-2" })
@Html.EditorFor(model => model.Active) @Html.ValidationMessageFor(model => model.Active, "", new { @class = "text-danger" })
Cancel
}
@Html.ActionLink("Back to List", "Index")