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.

41 lines
1.7 KiB

11 years ago
  1. @model Sevomin.Models.SignupViewModel
  2. <div class="row">
  3. <div class="col-md-6">
  4. @using (Html.BeginForm("Signup", "Account", FormMethod.Post, new { role = "form" }))
  5. {
  6. <div class="form-group">
  7. @Html.LabelFor(m => m.Email)
  8. @Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
  9. </div>
  10. <div class="form-group">
  11. @Html.LabelFor(m => m.DisplayName)
  12. @Html.TextBoxFor(m => m.DisplayName, new { @class = "form-control" })
  13. </div>
  14. <div class="form-group">
  15. @Html.LabelFor(m => m.Password)
  16. @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
  17. </div>
  18. @Html.Hidden("IsAvalin", "true")
  19. <button type="submit" class="btn btn-default">Submit</button>
  20. }
  21. </div>
  22. <div class="col-md-6">
  23. @using (Html.BeginForm("Signup", "Account", FormMethod.Post, new { role = "form" }))
  24. {
  25. <div class="form-group">
  26. @Html.LabelFor(m => m.Email)
  27. @Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
  28. </div>
  29. <div class="form-group">
  30. @Html.LabelFor(m => m.DisplayName)
  31. @Html.TextBoxFor(m => m.DisplayName, new { @class = "form-control" })
  32. </div>
  33. <div class="form-group">
  34. @Html.LabelFor(m => m.Password)
  35. @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
  36. </div>
  37. @Html.Hidden("IsAvalin", "false")
  38. <button type="submit" class="btn btn-default">Submit</button>
  39. }
  40. </div>
  41. </div>