@using EnVisage.Code @model EnVisage.Models.CompanyModel @{ ViewBag.Title = Model.Id != Guid.Empty ? "Edit " + Model.Name : "Add New Company"; } @section Scripts { @if (Model.Id != Guid.Empty) { } }
@using (Html.BeginForm("Edit", "Company", FormMethod.Post, new { @class = "panel form-horizontal innerForm" })) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Id) }