@using MileageTraker.Web.Utility
@{
    Layout = "~/Views/Shared/EditorTemplates/_FieldLayout.cshtml";
}
@if (!(Model is Enum))
{
	@Html.TextBox("", ViewData.TemplateInfo.FormattedModelValue, Html.GetInputSizeClass())
}
else
{
    @Html.Editor("", "Enum")
}