Skip to content

Instantly share code, notes, and snippets.

@andymboyle
Created May 9, 2011 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andymboyle/961932 to your computer and use it in GitHub Desktop.
Save andymboyle/961932 to your computer and use it in GitHub Desktop.
The person_detail template
<h2><a href="/firetracker/">Return to home</a></h2>
<p><strong>Name:</strong> {{ person.first_name }} {{ person.last_name }}</p>
<p><strong>Birthdate:</strong> {{ person.dob }}</p>
{% if person.title %}<p><strong>Title:</strong> {{ person.title.title }}</p>
<p><strong>Employer:</strong> {{ person.title.employer.name }}</p>{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment