title: Edit View Templates for Razor Views
body: <p>I'm writing web application using razor view engine. In Visual Studio I got the chance by RightClicking "Views"-Folder in project-explorer to create a view using a wizard. I can check "Create strong typed view", select a model-class and template (e.g. Empty, List, Create, Delete, ...). Nice thing. </p>
  
  <p>I wonder how I can edit the templates (change language, css styles, ...).</p>
  
  <p>The default create-Template looks like this:</p>
  
  <pre><code> @model UsedModel
  
   @{
       ViewBag.Title = "DefaultTemplate";
       Layout = "~/Views/Shared/_Layout.cshtml";
   }
  
   &lt;h2&gt;DefaultTemplate&lt;/h2&gt;
  
   &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  
   @using (Html.BeginForm()) {
       @Html.ValidationSummary(true)
       &lt;fieldset&gt;
           &lt;legend&gt;UsedModel&lt;/legend&gt;
  
           &lt;p&gt;
               &lt;input type="submit" value="Create" /&gt;
           &lt;/p&gt;
       &lt;/fieldset&gt;
   }
  
   &lt;div&gt;
       @Html.ActionLink("Back to List", "Index")
   &lt;/div&gt;
  </code></pre>
  
  <p>So how can I customize this template?</p>
  
  <p>Thanks in advance
  Tobi</p>