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.

84 lines
3.7 KiB

  1. @model Sevomin.Models.DovominViewModel
  2. @{
  3. ViewBag.Title = "ProfileDovomin";
  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" }))
  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. </div>
  23. <div class="form-group">
  24. @Html.LabelFor(model => model.PersianResume)
  25. <input type="file" name="PersianResume" />
  26. </div>
  27. <div class="form-group">
  28. @Html.LabelFor(model => model.Description)
  29. @Html.TextAreaFor(model => model.Description, new { @class = "form-control" })
  30. </div>
  31. </div>
  32. <div class="col-md-6">
  33. <div class="form-group">
  34. @Html.LabelFor(model => model.FirstName)
  35. @Html.TextBoxFor(model => model.FirstName, new { @class = "form-control" })
  36. </div>
  37. <div class="form-group">
  38. @Html.LabelFor(model => model.LastName)
  39. @Html.TextBoxFor(model => model.LastName, new { @class = "form-control" })
  40. </div>
  41. <div class="form-group">
  42. @Html.LabelFor(model => model.JalaliBirthDate)
  43. @Html.TextBoxFor(model => model.JalaliBirthDate, new { @class = "form-control datepickerify" })
  44. </div>
  45. <div class="checkbox">
  46. <label>
  47. @Html.DisplayNameFor(model => model.IsFullTime) @Html.CheckBoxFor(model => model.IsFullTime)
  48. </label>
  49. </div>
  50. <div class="checkbox">
  51. <label>
  52. @Html.DisplayNameFor(model => model.IsPartTime) @Html.CheckBoxFor(model => model.IsPartTime)
  53. </label>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <div class="row rtl">
  60. <div class="panel panel-default">
  61. <div class="panel-body">
  62. <div class="alert alert-info"><strong>سلام</strong> چطورین؟</div>
  63. <div class="col-md-12">
  64. @foreach (var category in Model.Parameters.GroupBy(m => m.GroupName))
  65. {
  66. <div class="panel panel-default">
  67. <div class="panel-body">
  68. <h3>@category.Key</h3>
  69. @foreach (var item in category)
  70. {
  71. @Html.Partial("DovominParameterViewModel", item)
  72. }
  73. </div>
  74. </div>
  75. }
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="clearfix">
  81. <button type="submit" class="btn btn-primary pull-left">به روز رسانی پروفایل</button>
  82. </div>
  83. }