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