My view is
@model List<string>
...
@Html.DisplayForModel("Name")
...
My "Name" display template is
@model string
<span>@Model</span>
This isn't working, I am getting:
The model item passed into the dictionary is of type 'System.Collections.Generic.List
1[string]', but this dictionary requires a model item of type 'string'`
Anything wrong I am doing here?