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.

54 lines
2.6 KiB

11 years ago
11 years ago
  1. @model Sevomin.Models.AvalinViewModel
  2. @{
  3. ViewBag.Title = "ویرایش پروفایل";
  4. }
  5. @Html.Partial("PostResult", ViewBag.Result as Sevomin.Models.PostResultViewModel)
  6. <div class="page-header rtl">
  7. <h1>ویرایش پروفایل <small>@Model.DisplayName</small></h1>
  8. </div>
  9. @using (Html.BeginForm("ProfileAvalin", "Account", FormMethod.Post, new { role = "form", @class = "assess-inputs", enctype = "multipart/form-data" }))
  10. {
  11. <div class="row" style="margin-bottom: 20px">
  12. <div class="col-md-12">
  13. <button type="submit" class="btn btn-primary pull-left">به روز رسانی پروفایل</button>
  14. </div>
  15. </div>
  16. <div class="row rtl">
  17. <div class="panel panel-default">
  18. <div class="panel-body">
  19. <div class="col-md-6">
  20. <div class="form-group">
  21. @Html.LabelFor(model => model.CompanyPhoneNumber)
  22. @Html.TextBoxFor(model => model.CompanyPhoneNumber, new { @class = "form-control" })
  23. </div>
  24. <div class="form-group">
  25. @Html.LabelFor(model => model.EMail)
  26. @Html.TextBoxFor(model => model.EMail, new { @class = "form-control" })
  27. </div>
  28. <div class="form-group">
  29. @Html.LabelFor(model => model.Address)
  30. @Html.TextAreaFor(model => model.Address, new { @class = "form-control" })
  31. </div>
  32. </div>
  33. <div class="col-md-6">
  34. <div class="form-group">
  35. @Html.LabelFor(model => model.CompanyName)
  36. @Html.TextBoxFor(model => model.CompanyName, new { @class = "form-control" })
  37. </div>
  38. <div class="form-group">
  39. @Html.LabelFor(model => model.NationalId)
  40. @Html.TextBoxFor(model => model.NationalId, new { @class = "form-control" })
  41. </div>
  42. <div class="form-group">
  43. @Html.LabelFor(model => model.RegisterId)
  44. @Html.TextBoxFor(model => model.RegisterId, new { @class = "form-control" })
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="clearfix">
  51. <button type="submit" class="btn btn-primary pull-left">به روز رسانی پروفایل</button>
  52. </div>
  53. }