@using (Html.BeginForm("Register", "Account", FormMethod.Post, new {id = "registration"})) { @Html.ValidationSummary(excludePropertyErrors: true)
Registration

@Html.LabelFor(m => m.SelectedHmc, @Resources.RegistrationHmc) @Html.DropDownListFor(x => x.SelectedHmc, Model.HmcList)

@Html.LabelFor(m => m.SelectedCity, @Resources.RegistrationCity) @Html.DropDownListFor(m => m.SelectedCity, Model.CityList, new {onchange = "FetchStreets();"})

@Html.LabelFor(m => m.SelectedStreet, @Resources.RegistrationStreet) @Html.DropDownListFor(m => m.SelectedStreet, Model.StreetList, new {onchange = "FetchHouses();", @data_bind = "options: StreetList, optionsText: 'Name', optionsValue: 'Id', optionsCaption: 'Select...'"})

@Html.LabelFor(m => m.SelectedHouse, @Resources.RegistrationHouse) @Html.DropDownListFor(m => m.SelectedHouse, Model.HouseList, new { @data_bind="options: HouseList, optionsText: 'Number', optionsValue: 'Id'"})

@Html.LabelFor(m => m.AppartmentNumber, @Resources.RegistrationAppartmentNumber, new {@class = "registration-label-input"}) @Html.TextBoxFor(m => m.AppartmentNumber)

@Html.LabelFor(m => m.Email, @Resources.RegistrationEmail, new {@class = "registration-label-input"}) @Html.TextBoxFor(m => m.Email)

@Html.LabelFor(m => m.PhoneNumber, @Resources.RegistrationPhoneNumber, new {@class = "registration-label-input"}) @Html.TextBoxFor(m => m.PhoneNumber)

@Html.LabelFor(m => m.Password, @Resources.RegistrationPassword, new {@class = "registration-label-input"}) @Html.PasswordFor(m => m.Password)

@Html.LabelFor(m => m.ConfirmPassword, @Resources.RegistrationConfirmPassword, new {@class = "registration-label-input"}) @Html.PasswordFor(m => m.ConfirmPassword)

}