9 | @Html.LabelFor(model => model.CardholderName, false): 10 | | 11 |12 | @Html.TextBoxFor(model => model.CardholderName, new { style = "Width: 165px;", autocomplete = "off" }) 13 | @Html.ValidationMessageFor(model => model.CardholderName) 14 | | 15 |
18 | @Html.LabelFor(model => model.CardNumber, false): 19 | | 20 |21 | @Html.TextBoxFor(model => model.CardNumber, new { style = "Width: 165px;", autocomplete = "off", maxlength = 22 }) 22 | @Html.ValidationMessageFor(model => model.CardNumber) 23 | | 24 |
27 | @Html.LabelFor(model => model.ExpireMonth, false): 28 | | 29 |30 | @Html.DropDownListFor(model => model.ExpireMonth, Model.ExpireMonths) 31 | / 32 | @Html.DropDownListFor(model => model.ExpireYear, Model.ExpireYears) 33 | | 34 |
37 | @Html.LabelFor(model => model.CardCode, false): 38 | | 39 |40 | @Html.TextBoxFor(model => model.CardCode, new { style = "Width: 60px;", autocomplete = "off", maxlength = 4 }) 41 | @Html.ValidationMessageFor(model => model.CardCode) 42 | | 43 |