Source

baptism_records / Baptism-Records / baptism_records / templates / christian / show.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:py="http://genshi.edgewall.org/"
    xmlns:xi="http://www.w3.org/2001/XInclude">

    <xi:include href="master.html" />

    <head>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
        <title>${christian.full_name} - Baptism Records</title>
    </head>

    <body>
        <div class="main_content">
          <div class="sidebar">
            <ul class="links">
              <li>
                <a href="/">Return to the Home Page</a>
              </li>
              <li>
                 <a href="/christians/">List of all Christians</a>
              </li>
            </ul>
          </div>
          <h1 py:content="christian.full_name">Full Name</h1>
          
          <p py:for="bl in christian.book_locations" class="book_location">
            <a href="/book/${bl.book}">Book ${bl.book}</a>, 
            <a href="/book/${bl.book}/${bl.page}">Page ${bl.page}</a>,
            <a href="/book/${bl.book}/${bl.page}/${bl.number}">Number ${bl.number}</a>
          </p>
          
          <dl class="table-display">
            <dt>First Name</dt>
            <dd py:content="christian.first_name">first_name</dd>
            <dt>Middle Name</dt>
            <dd py:content="christian.middle_name">middle_name</dd>
            <dt>Last Name</dt>
            <dd py:content="christian.last_name">last_name</dd>
            <dt>Birthday</dt>
            <dd py:content="christian.birthday">birthday</dd>

            <dt>Father Name</dt>
            <dd py:content="christian.father_name">father_name</dd>
            <dt>Mother Maiden Name</dt>
            <dd py:content="christian.mother_maiden_name">mother_maiden_name</dd>

            <dt>Sponsor 1</dt>
            <dd py:content="christian.sponsor_1">sponsor_1</dd>
            <dt>Sponsor 2</dt>
            <dd py:content="christian.sponsor_2">sponsor_2</dd>
            <dt>Birth Hospital</dt>
            <dd py:content="christian.birth_hospital">birth_hospital</dd>
            <dt>Postal Code</dt>
            <dd py:content="christian.postal_code">postal_code</dd>

            <dt>Baptized By</dt>
            <dd py:content="christian.baptized_by">baptized_by</dd>
            <dt>Baptized On</dt>
            <dd py:content="christian.baptized_on">baptized_on</dd>
            <dt>Baptized At</dt>
            <dd py:content="christian.baptized_at">baptized_at</dd>
          </dl>
          <div class="clearingdiv" />
          
          <div py:if="len(christian.remarks) > 0">
            <h2>Remarks</h2>
            <ul>
              <li py:for="r in christian.remarks" py:content="r.note"></li>
            </ul>
          </div>
          <div py:if="len(christian.marriages) > 0">
            <h2>Marriage</h2>
            <ul>
              <li py:for="r in christian.marriages" py:content="r.note"></li>
            </ul>
          </div>
          <div py:if="len(christian.religious) > 0">
            <h2>Religious Vocations</h2>
            <ul>
              <li py:for="r in christian.religious" py:content="r.note"></li>
            </ul>
          </div>
          
          <ul class="buttons">
            <li><a href="edit/${christian.id}">Edit Me</a></li>
            <li><a href="add_remark/${christian.id}">Add Remark</a></li>
            <li><a href="add_marriage/${christian.id}">Add Marriage</a></li>
            <li><a href="add_religious/${christian.id}">Add Religious Vocation</a></li>
          </ul>
        </div>
        <br style="clear: both;" />
    </body>
</html>