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

Check out now

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

@using (Html.BeginForm()) {

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" })
} }

Options

}