@model SportsStore.Domain.Entities.ShippingDetails @{ ViewBag.Title = "SportStore Checkout"; }

Checkout

Please enter your details, and we'll ship your goods right away!

@using (Html.BeginForm()) { @Html.ValidationSummary()

Ship to

@Html.TextBoxFor(x => x.Name, new { @class = "form-control" } )

Address

foreach (var property in ViewData.ModelMetadata.Properties) { if (property.PropertyName != "Name" && property.PropertyName != "GiftWrap") {
@Html.TextBox(property.PropertyName, null, new { @class = "form-control" })
} } @*
@Html.TextBoxFor(x => x.Line1, new { @class = "form-control" })
@Html.TextBoxFor(x => x.Line2, new { @class = "form-control" })
@Html.TextBoxFor(x => x.Line3, new { @class = "form-control" })
@Html.TextBoxFor(x => x.City, new { @class = "form-control" })
@Html.TextBoxFor(x => x.State, new { @class = "form-control" })
@Html.TextBoxFor(x => x.Zip, new { @class = "form-control" })
@Html.TextBoxFor(x => x.Country, new { @class = "form-control" })
*@

Options

}