title: Html.EditorForModel and format of display
body: <p>I'm using MVC 2, and the Html.EditorForModel() to allow me to display an editor for the model.</p>
  
  <p>I am using a model which looks something like this:</p>
  
  <pre><code>public class LoanACar
  {
      [DisplayNameFromResource("VehicleDetails")]
      public string VehicleDetails { get; set; }
      [DisplayNameFromResource("VehicleId")]
      [Required]
      public long VehicleId { get; set; }
      [DisplayNameFromResource("LoanCentreId")]
      [Required]
      public long LoanCentreId { get; set; }
      [DisplayNameFromResource("StartDate")]
      [Required]
      public DateTime StartDate { get; set; }
      [DisplayNameFromResource("EndDate")]
      [Required]
      public DateTime EndDate { get; set; }
  }
  </code></pre>
  
  <p>Which is working great.</p>
  
  <p>I'd like to take it further now and have my VehicleDetails to be a label, not a textbox, also the VehicleId to be a hidden.</p>