Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. @model M1.Models.Quiz
  2.  
  3. @{
  4. ViewBag.Title = "Create";
  5. }
  6.  
  7. @using (Html.BeginForm()) {
  8. @Html.AntiForgeryToken()
  9. @Html.ValidationSummary(true)
  10.  
  11.  
  12. <div class="editor-label">
  13. Imię
  14. </div>
  15. <div class="editor-field">
  16. @Html.EditorFor(model => model.FirstName)
  17. </div>
  18.  
  19. <div class="editor-label">
  20. Płeć
  21. </div>
  22. <div class="editor-field">
  23. @Html.DropDownList("Gender")
  24. @Html.ValidationMessageFor(model => model.Gender)
  25. </div>
  26.  
  27. <div class="editor-label">
  28. Email
  29. </div>
  30. <div class="editor-field">
  31. @Html.EditorFor(model => model.Email)
  32. @Html.ValidationMessageFor(model => model.Email)
  33. </div>
  34.  
  35. <div class="editor-label">
  36. @Html.LabelFor(model => model.Rama)
  37. </div>
  38. <div class="editor-field">
  39. @Html.DropDownList("Rama")
  40. @Html.ValidationMessageFor(model => model.Rama)
  41. </div>
  42.  
  43. <div class="editor-label">
  44. @Html.LabelFor(model => model.Mark)
  45. </div>
  46. <div class="editor-field">
  47. <input type="checkbox" name="cb1" value="Cateye" />Cateye<br />
  48. <input type="checkbox" name="cb1" value="Giant" />Giant<br />
  49. <input type="checkbox" name="cb1" value="Kenda" />Kenda<br />
  50. <input type="checkbox" name="cb1" value="Nie ma znaczenia" />Nie ma znaczenia<br />
  51. </div>
  52.  
  53. <div class="editor-label">
  54. Rodzaj roweru
  55. </div>
  56. <div class="editor-field">
  57. @Html.ListBox("Rama")
  58. </div>
  59.  
  60. <div class="editor-label">
  61. @Html.LabelFor(model => model.SpendMoney)
  62. </div>
  63. <div class="editor-field">
  64. <input type="radio" name="cb1" value="" />Do 500 zł<br />
  65. <input type="radio" name="cb1" value="Giant" />500 - 1000 zł <br />
  66. <input type="radio" name="cb1" value="Kenda" />1000 - 1500 zł<br />
  67. <input type="radio" name="cb1" value="Nie ma znaczenia" />1500 - 2000 zł<br />
  68. <input type="radio" name="cb1" value="cena" /> cena <br />
  69.  
  70. od @Html.EditorFor(model => model.PriceMin) do @Html.EditorFor(model => model.PriceMin)
  71. </div>
  72.  
  73. <div class="editor-field">
  74. <input type="checkbox" name="cb1" value="" />Email<br />
  75. <input type="checkbox" name="cb1" value="Giant" />Telefon <br />
  76. <input type="checkbox" name="cb1" value="Kenda" />Osobisty<br />
  77. </div>
  78.  
  79.  
  80. <input type="submit" value="Wyślij" />
  81.  
  82.  
  83. }
  84.  
  85.  
  86.  
  87. @section Scripts {
  88. @Scripts.Render("~/bundles/jqueryval")
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement