33 lines
810 B
Plaintext
33 lines
810 B
Plaintext
@model Order
|
|
|
|
@{
|
|
ViewBag.Title = "Address And Payment";
|
|
}
|
|
|
|
@section Scripts {
|
|
@{await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
|
|
}
|
|
|
|
<form asp-antiforgery="true">
|
|
<h2>Address And Payment</h2>
|
|
<hr />
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
<fieldset>
|
|
<legend>Shipping Information</legend>
|
|
|
|
@Html.EditorForModel()
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>Payment</legend>
|
|
<p>We're running a promotion: all music is free with the promo code: "FREE"</p>
|
|
|
|
<div class="editor-label">
|
|
<label title="Promo Code">Promo Code</label>
|
|
</div>
|
|
<div class="editor-field">
|
|
@Html.TextBox("PromoCode")
|
|
</div>
|
|
</fieldset>
|
|
|
|
<input type="submit" value="Submit Order" />
|
|
</form> |