{{ (index $p 0).Post.Name }}{{ else if .SubmitTitle}}{{.SubmitTitle}}{{end}}</textarea>
  </div>
  <div>
    <label for="body">body</label>
    <textarea name="body" id="body">{{ if and $p (index $p 0).Post.Body.IsValid }}{{ (index $p 0).Post.Body.String }}{{ else if .SubmitBody }}{{.SubmitBody}}{{end}}</textarea>
  </div>
  <div>
    <label for="language">language</label>
    <select name="language" id="language">
      {{ range $language := .Site.AllLanguages }}
      <option {{ if and $p (eq (index $p 0)