@model EnVisage.Models.ContactModel @{ ViewBag.Title = Model != null && Model.Id != Guid.Empty ? "Edit " + Model.FirstName + " " + Model.LastName : "Add New Contact"; } @section Scripts { }
@using (Html.BeginForm("Edit", "Contact", FormMethod.Post, new { @class = "panel form-horizontal" })) { @Html.AntiForgeryToken() @Html.HiddenFor(t=>t.Id)