Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model BookingAppStore.Models.Purchase
- @{
- ViewBag.Title = "Покупка книг";
- }
- <h2>Buy</h2>
- <div>
- <h3>Форма регистрации при покупке </h3>
- <form method="post">
- <input type="hidden" value="@ViewBag.BookId" name="Книги" />
- @*<table>
- <tr>
- <td><p>Name</p></td>
- <td><input type="text" name="Имя" /></td>
- </tr>
- <tr>
- <td><p>aadress</p></td>
- <td>
- <input type="text" name="Адресс" />
- </td>
- </tr>
- <tr><td><input type="submit" value="Отправить" /></td><td></td></tr>
- </table>*@
- @using (Html.BeginForm())
- {
- <p> Sinu nimi:@Html.TextBoxFor(x => x.Person) </p>
- <p> Sinu nimi:@Html.TextBoxFor(x => x.Email) </p>
- <p> Sinu nimi:@Html.TextBoxFor(x => x.Phone) </p>
- <p>
- Kas oled püsiklient?
- @Html.DropDownListFor(x => x.Klient, new[]{
- new SelectListItem(){Text="Püsiklient", Value=bool.TrueString},
- new SelectListItem(){Text="Ei ole", Value=bool.TrueString} })
- </p>
- }
- <img src='../../foto/2.jpg'>
- </form>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement