title: How to make a default editor template for enums in MVC 4?
body: <p>We know that if we define a template for a base type, that template could serve also for the derived types (if any other template was not used to override it).</p>
  
  <p>As we can't inherit an <code>Enum</code>, nor <code>enum</code>s are considered inherited from the <code>Enum</code>, so neither the <code>Enum.cshtml</code> template in the <code>Views\Shared\EditorTemplates</code> will not be active for different custom enum properties of the objects, like this one:</p>
  
  <pre><code>public enum Role
  {
      Admin,
      User,
      Guest
  }
  </code></pre>
  
  <p>I already saw some answers on this topic for ASP in general, but I am wondering if in <strong>MVC 4</strong> there are some improvements on this subject? </p>
  
  <p>PS. I mean <em>without</em> use any explicit template attribution (like <code>@Html.EditorFor(model =&gt; model.Role, "Enum")</code> or <code>[UIHint("Enum")]</code>)</p>
  
  <p>PPS. I am novice in MVC, so I'll appreciate your simple answers.</p>