{{append . "moreStyles" "ui-lightness/jquery-ui-1.7.2.custom.css"}} {{append . "moreScripts" "js/jquery-ui-1.7.2.custom.min.js"}} {{template "header.html" .}}

Book hotel

Name: {{.hotel.Name}}

Address: {{.hotel.Address}}

City: {{.hotel.City}}

State: {{.hotel.State}}

Zip: {{.hotel.Zip}}

Country: {{.hotel.Country}}

Nightly rate: {{.hotel.Price}}

{{with $field := field "booking.CheckInDate" .}}

Check In Date: * {{$field.Error}}

{{end}} {{with $field := field "booking.CheckOutDate" .}}

Check Out Date: * {{$field.Error}}

{{end}}

Room preference: {{with $field := field "booking.Beds" .}} {{end}}

Smoking preference: {{with $field := field "booking.Smoking" .}} {{radio $field "true"}} Smoking {{radio $field "false"}} Non smoking {{end}}

{{with $field := field "booking.CardNumber" .}}

Credit Card #: * {{$field.Error}}

{{end}} {{with $field := field "booking.NameOnCard" .}}

Credit Card Name: * {{$field.Error}}

{{end}}

Credit Card Expiry: {{with $field := field "booking.CardExpMonth" .}} {{end}} {{with $field := field "booking.CardExpYear" .}} {{end}}

Cancel

{{template "footer.html" .}}