Corrected the model variable name
The model variable name is registerModel rather than profileModel.
This commit is contained in:
committed by
emma burstow
parent
41915080b2
commit
0d2c2846d4
@@ -85,7 +85,7 @@ else
|
||||
easily change it. For example, if you wanted to render a custom editor for this field called "MyEditor" you would
|
||||
create a file at ~/Views/Shared/EditorTemplates/MyEditor.cshtml", then you will change the next line of code to
|
||||
render your specific editor template like:
|
||||
@Html.EditorFor(m => profileModel.MemberProperties[i].Value, "MyEditor")
|
||||
@Html.EditorFor(m => registerModel.MemberProperties[i].Value, "MyEditor")
|
||||
*@
|
||||
@Html.EditorFor(m => registerModel.MemberProperties[i].Value)
|
||||
@Html.HiddenFor(m => registerModel.MemberProperties[i].Alias)
|
||||
|
||||
Reference in New Issue
Block a user