show.gohtml 362 B

123456789101112131415
  1. {{define "show.html"}}
  2. {{ block "content" . }}
  3. <h1>{{ .contact.First}} {{ .contact.Last}}</h1>
  4. <div>
  5. <div>Phone: {{ .contact.Phone}}</div>
  6. <div>Email: {{ .contact.Email}}</div>
  7. </div>
  8. <p>
  9. <a href="/contacts/{{ .contact.ID}}/edit">Edit</a>
  10. <a href="/contacts">Back</a>
  11. </p>
  12. {{ end }}
  13. {{end}}