11 lines
201 B
Plaintext
11 lines
201 B
Plaintext
@{
|
|
Layout = "~/Views/Shared/EditorTemplates/_FieldLayout.cshtml";
|
|
}
|
|
@if (!(Model is Enum))
|
|
{
|
|
@Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue)
|
|
}
|
|
else
|
|
{
|
|
@Html.Editor("", "Enum")
|
|
} |