title: MVC 3 Custom Templates and EditorForModel confusion
body: <p>So as I understand it</p>
  
  <p>Given a view model</p>
  
  <pre><code>public class MyViewModel{
      public DateTime Date {get; set;}
      public MyClass Class {get; set;}
  }
  </code></pre>
  
  <p>.. a View Views\MyController\MyAction.cshtml</p>
  
  <pre><code>@model MyViewModel
  @Html.DisplayForModel()
  </code></pre>
  
  <p>.. a partial View Views\Shared\DisplayTemplates\DateTime.chstml</p>
  
  <pre><code>@model DateTime
  Some Date
  </code></pre>
  
  <p>.. another partial View Views\Shared\DisplayTemplates\MyClass.cshtml</p>
  
  <pre><code>@model MyClass
  My Class
  </code></pre>
  
  <p>.. I should get</p>
  
  <pre><code>Date
  Some Date
  Class
  My Class    
  </code></pre>
  
  <p>.. But I just get </p>
  
  <pre><code>Date
  Some Date
  </code></pre>
  
  <p>So it seems DisplayForModel finds DateTime template but not my custom template, even though I am following the conventions of naming it by the type of the property.</p>
  
  <p>Am I missing something. I am using MVC 3 and believe this feature was already available in MVC 2</p>