Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model M1.Models.Quiz
- @{
- ViewBag.Title = "Create";
- }
- @using (Html.BeginForm()) {
- @Html.AntiForgeryToken()
- @Html.ValidationSummary(true)
- <div class="editor-label">
- Imię
- </div>
- <div class="editor-field">
- @Html.EditorFor(model => model.FirstName)
- </div>
- <div class="editor-label">
- Płeć
- </div>
- <div class="editor-field">
- @Html.DropDownList("Gender")
- @Html.ValidationMessageFor(model => model.Gender)
- </div>
- <div class="editor-label">
- Email
- </div>
- <div class="editor-field">
- @Html.EditorFor(model => model.Email)
- @Html.ValidationMessageFor(model => model.Email)
- </div>
- <div class="editor-label">
- @Html.LabelFor(model => model.Rama)
- </div>
- <div class="editor-field">
- @Html.DropDownList("Rama")
- @Html.ValidationMessageFor(model => model.Rama)
- </div>
- <div class="editor-label">
- @Html.LabelFor(model => model.Mark)
- </div>
- <div class="editor-field">
- <input type="checkbox" name="cb1" value="Cateye" />Cateye<br />
- <input type="checkbox" name="cb1" value="Giant" />Giant<br />
- <input type="checkbox" name="cb1" value="Kenda" />Kenda<br />
- <input type="checkbox" name="cb1" value="Nie ma znaczenia" />Nie ma znaczenia<br />
- </div>
- <div class="editor-label">
- Rodzaj roweru
- </div>
- <div class="editor-field">
- @Html.ListBox("Rama")
- </div>
- <div class="editor-label">
- @Html.LabelFor(model => model.SpendMoney)
- </div>
- <div class="editor-field">
- <input type="radio" name="cb1" value="" />Do 500 zł<br />
- <input type="radio" name="cb1" value="Giant" />500 - 1000 zł <br />
- <input type="radio" name="cb1" value="Kenda" />1000 - 1500 zł<br />
- <input type="radio" name="cb1" value="Nie ma znaczenia" />1500 - 2000 zł<br />
- <input type="radio" name="cb1" value="cena" /> cena <br />
- od @Html.EditorFor(model => model.PriceMin) do @Html.EditorFor(model => model.PriceMin)
- </div>
- <div class="editor-field">
- <input type="checkbox" name="cb1" value="" />Email<br />
- <input type="checkbox" name="cb1" value="Giant" />Telefon <br />
- <input type="checkbox" name="cb1" value="Kenda" />Osobisty<br />
- </div>
- <input type="submit" value="Wyślij" />
- }
- @section Scripts {
- @Scripts.Render("~/bundles/jqueryval")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement