@using MileageTraker.Web.Utility
@{
    Layout = null;
}

@foreach (var prop in ViewData.ModelMetadata.Properties)
{
    if (prop.ShowForEdit)
    {
        if (!prop.ModelType.IsCollection())
        {
            @Html.Editor(prop.PropertyName)
        }
    }
}