@model Sevomin.Models.JobViewModel @using (Html.BeginForm("", "", FormMethod.Post, new { role = "form" })) {
مشخصات اصلی آگهی
@* *@
@Html.LabelFor(model => model.JalaliExpireDate) @Html.TextBoxFor(model => model.JalaliExpireDate, new { @class = "form-control datepickerify" })
@Html.LabelFor(model => model.ContactPersonName) @Html.TextBoxFor(model => model.ContactPersonName, new { @class = "form-control" })
@Html.LabelFor(model => model.ContactPersonPhone) @Html.TextBoxFor(model => model.ContactPersonPhone, new { @class = "form-control" })
@Html.LabelFor(model => model.ContactPersonEMail) @Html.TextBoxFor(model => model.ContactPersonEMail, new { @class = "form-control" })
مشخصات اضافه آگهی
@foreach(var category in Model.Parameters.GroupBy(m => m.GroupName)){ @category.Key foreach (var item in category) { @Html.EditorFor(m => item) } }
}