@model Sevomin.Models.DovominViewModel
|
|
@{
|
|
ViewBag.Title = "ProfileDovomin";
|
|
}
|
|
|
|
<div class="page-header rtl">
|
|
<h1>ویرایش پروفایل <small>@Model.DisplayName</small></h1>
|
|
</div>
|
|
@using (Html.BeginForm("ProfileDovomin", "Account", FormMethod.Post, new { role = "form", @class = "assess-inputs" }))
|
|
{
|
|
<div class="row" style="margin-bottom: 20px">
|
|
<div class="col-md-12">
|
|
<button type="submit" class="btn btn-primary pull-left">به روز رسانی پروفایل</button>
|
|
</div>
|
|
</div>
|
|
<div class="row rtl">
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.EnglishResume)
|
|
<input type="file" name="EnglishResume" />
|
|
</div>
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.PersianResume)
|
|
<input type="file" name="PersianResume" />
|
|
</div>
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.Description)
|
|
@Html.TextAreaFor(model => model.Description, new { @class = "form-control" })
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.FirstName)
|
|
@Html.TextBoxFor(model => model.FirstName, new { @class = "form-control" })
|
|
</div>
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.LastName)
|
|
@Html.TextBoxFor(model => model.LastName, new { @class = "form-control" })
|
|
</div>
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.JalaliBirthDate)
|
|
@Html.TextBoxFor(model => model.JalaliBirthDate, new { @class = "form-control datepickerify" })
|
|
</div>
|
|
<div class="checkbox">
|
|
<label>
|
|
@Html.DisplayNameFor(model => model.IsFullTime) @Html.CheckBoxFor(model => model.IsFullTime)
|
|
</label>
|
|
</div>
|
|
<div class="checkbox">
|
|
<label>
|
|
@Html.DisplayNameFor(model => model.IsPartTime) @Html.CheckBoxFor(model => model.IsPartTime)
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row rtl">
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<div class="alert alert-info"><strong>سلام</strong> چطورین؟</div>
|
|
<div class="col-md-12">
|
|
@foreach (var category in Model.Parameters.GroupBy(m => m.GroupName))
|
|
{
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<h3>@category.Key</h3>
|
|
@foreach (var item in category)
|
|
{
|
|
@Html.Partial("DovominParameterViewModel", item)
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix">
|
|
<button type="submit" class="btn btn-primary pull-left">به روز رسانی پروفایل</button>
|
|
</div>
|
|
}
|