You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
4.3 KiB

  1. @model Sevomin.Models.DovominViewModel
  2. @{
  3. ViewBag.Title = "ویرایش پروفایل";
  4. }
  5. <div class="page-header rtl">
  6. <h1>ویرایش پروفایل <small>@Model.DisplayName</small></h1>
  7. </div>
  8. @using (Html.BeginForm("ProfileDovomin", "Account", FormMethod.Post, new { role = "form", @class = "assess-inputs", enctype = "multipart/form-data" }))
  9. {
  10. <div class="row" style="margin-bottom: 20px">
  11. <div class="col-md-12">
  12. <button type="submit" class="btn btn-primary pull-left">به روز رسانی پروفایل</button>
  13. </div>
  14. </div>
  15. <div class="row rtl">
  16. <div class="panel panel-default">
  17. <div class="panel-body">
  18. <div class="col-md-6">
  19. <div class="form-group">
  20. @Html.LabelFor(model => model.EnglishResume)
  21. <input type="file" name="EnglishResume" />
  22. @if (!string.IsNullOrWhiteSpace(Model.EnglishResume))
  23. {
  24. <a href="#" class="pull-left"><span class="glyphicon glyphicon-arrow-down"></span>فایل رزومه انگلیسی</a>
  25. }
  26. </div>
  27. <div class="form-group">
  28. @Html.LabelFor(model => model.PersianResume)
  29. <input type="file" name="PersianResume" />
  30. @if (!string.IsNullOrWhiteSpace(Model.PersianResume))
  31. {
  32. <a href="#" class="pull-left"><span class="glyphicon glyphicon-arrow-down"></span>فایل رزومه فارسی</a>
  33. }
  34. </div>
  35. <div class="form-group">
  36. @Html.LabelFor(model => model.Description)
  37. @Html.TextAreaFor(model => model.Description, new { @class = "form-control" })
  38. </div>
  39. </div>
  40. <div class="col-md-6">
  41. <div class="form-group">
  42. @Html.LabelFor(model => model.FirstName)
  43. @Html.TextBoxFor(model => model.FirstName, new { @class = "form-control" })
  44. </div>
  45. <div class="form-group">
  46. @Html.LabelFor(model => model.LastName)
  47. @Html.TextBoxFor(model => model.LastName, new { @class = "form-control" })
  48. </div>
  49. <div class="form-group">
  50. @Html.LabelFor(model => model.JalaliBirthDate)
  51. @Html.TextBoxFor(model => model.JalaliBirthDate, new { @class = "form-control datepickerify" })
  52. </div>
  53. <div class="checkbox">
  54. <label>
  55. @Html.DisplayNameFor(model => model.IsFullTime) @Html.CheckBoxFor(model => model.IsFullTime)
  56. </label>
  57. </div>
  58. <div class="checkbox">
  59. <label>
  60. @Html.DisplayNameFor(model => model.IsPartTime) @Html.CheckBoxFor(model => model.IsPartTime)
  61. </label>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="row rtl">
  68. <div class="panel panel-default">
  69. <div class="panel-body">
  70. <div class="alert alert-info"><strong>سلام</strong> چطورین؟</div>
  71. <div class="col-md-12">
  72. @foreach (var category in Model.Parameters.GroupBy(m => m.GroupName))
  73. {
  74. <div class="panel panel-default">
  75. <div class="panel-body">
  76. <h3>@category.Key</h3>
  77. @foreach (var item in category)
  78. {
  79. @Html.Partial("DovominParameterViewModel", item)
  80. }
  81. </div>
  82. </div>
  83. }
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. <div class="clearfix">
  89. <button type="submit" class="btn btn-primary pull-left">به روز رسانی پروفایل</button>
  90. </div>
  91. }