|
|
@ -1,71 +1,73 @@ |
|
|
|
@model Sevomin.Models.JobViewModel |
|
|
|
@using (Html.BeginForm("", "", FormMethod.Post, new { role = "form" })) |
|
|
|
{ |
|
|
|
<div class="row rtl"> |
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading">مشخصات اصلی آگهی</div> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="checkbox"> |
|
|
|
@*<label for="exampleInputEmail1">تاریخ انقضا</label> <span class="glyphicon glyphicon-exclamation-sign form-help" data-toggle="tooltip" data-for="boogh" data-placement="top" title="این یک راهنما برای این فیلد است"></span> |
|
|
|
|
|
|
|
<div class="row rtl"> |
|
|
|
<div class="clearfix"> |
|
|
|
<button type="submit" class="btn btn-primary pull-left">ارسال آگهی</button> |
|
|
|
</div> |
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading">مشخصات اصلی آگهی</div> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="checkbox"> |
|
|
|
@*<label for="exampleInputEmail1">تاریخ انقضا</label> <span class="glyphicon glyphicon-exclamation-sign form-help" data-toggle="tooltip" data-for="boogh" data-placement="top" title="این یک راهنما برای این فیلد است"></span> |
|
|
|
<input type="text" class="form-control datepickerify" id="boogh" placeholder="Enter email">*@ |
|
|
|
<label> |
|
|
|
@Html.DisplayNameFor(model => model.IsFullTime) @Html.CheckBoxFor(model => model.IsFullTime) |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="checkbox"> |
|
|
|
<label> |
|
|
|
@Html.DisplayNameFor(model => model.ShowCompanyName) @Html.CheckBoxFor(model => model.ShowCompanyName) |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="checkbox"> |
|
|
|
<label> |
|
|
|
@Html.DisplayNameFor(model => model.ShowCompanyLogo) @Html.CheckBoxFor(model => model.ShowCompanyLogo) |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<label> |
|
|
|
@Html.DisplayNameFor(model => model.IsFullTime) @Html.CheckBoxFor(model => model.IsFullTime) |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.JalaliExpireDate) |
|
|
|
@Html.TextBoxFor(model => model.JalaliExpireDate, new { @class = "form-control datepickerify" }) |
|
|
|
<div class="form-group"> |
|
|
|
<div class="checkbox"> |
|
|
|
<label> |
|
|
|
@Html.DisplayNameFor(model => model.ShowCompanyName) @Html.CheckBoxFor(model => model.ShowCompanyName) |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.ContactPersonName) |
|
|
|
@Html.TextBoxFor(model => model.ContactPersonName, new { @class = "form-control" }) |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.ContactPersonPhone) |
|
|
|
@Html.TextBoxFor(model => model.ContactPersonPhone, new { @class = "form-control" }) |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.ContactPersonEMail) |
|
|
|
@Html.TextBoxFor(model => model.ContactPersonEMail, new { @class = "form-control" }) |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="checkbox"> |
|
|
|
<label> |
|
|
|
@Html.DisplayNameFor(model => model.ShowCompanyLogo) @Html.CheckBoxFor(model => model.ShowCompanyLogo) |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.JalaliExpireDate) |
|
|
|
@Html.TextBoxFor(model => model.JalaliExpireDate, new { @class = "form-control datepickerify" }) |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.ContactPersonName) |
|
|
|
@Html.TextBoxFor(model => model.ContactPersonName, new { @class = "form-control" }) |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.ContactPersonPhone) |
|
|
|
@Html.TextBoxFor(model => model.ContactPersonPhone, new { @class = "form-control" }) |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
@Html.LabelFor(model => model.ContactPersonEMail) |
|
|
|
@Html.TextBoxFor(model => model.ContactPersonEMail, new { @class = "form-control" }) |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="row rtl"> |
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading">مشخصات اضافه آگهی</div> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="col-md-12"> |
|
|
|
@foreach(var category in Model.Parameters.GroupBy(m => m.GroupName)){ |
|
|
|
@category.Key |
|
|
|
foreach (var item in category) |
|
|
|
{ |
|
|
|
@Html.EditorFor(m => item) |
|
|
|
} |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="row rtl"> |
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading">مشخصات اضافه آگهی</div> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="col-md-12"> |
|
|
|
@foreach (var category in Model.Parameters.GroupBy(m => m.GroupName)) |
|
|
|
{ |
|
|
|
@category.Key |
|
|
|
foreach (var item in category) |
|
|
|
{ |
|
|
|
@Html.EditorFor(m => item) |
|
|
|
} |
|
|
|
</div> |
|
|
|
|
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
</div> |