{% extends 'base.html' %}

{% block styles %}

<link href={{ auto_ver("/static/css/dataTables/demo_table.css") }}
      rel="stylesheet" type="text/css"/>
<link href={{ auto_ver("/static/css/srp.css") }} rel="stylesheet" 
      type="text/css" />

{% end block %}

{% block content %}

<h1 class="patients">Search Results Summary: Patients</h1>
<p>You searched for: {{ search_query }}.
<hr/>

<table id="pat_srp_table" class="display" name="pat_srp_table">
  <thead>
    <tr>
      <th>ID</th>
      <th>Title</th>
      <th>Name</th>
      <th>Age</th>      
      <th>Phone</th>
      </tr>
  </thead>

  <tbody>
    {% for res in search_results %}
    <tr>
      <td> {{ res.id }}    </td>
      <td> {{ res.title }} </td>
      <td> {{ res.name }}  </td>
      <td> {{ res.age }}  </td>
      <td> {{ res.phone }} </td>
    </tr>
    {% end %}
  </tbody>
</table>

{% end block %}

{% extends 'base.html' %}

{% block styles %}

<link href={{ auto_ver("/static/css/dataTables/demo_table.css") }}
      rel="stylesheet" type="text/css"/>
<link href={{ auto_ver("/static/css/srp.css") }} rel="stylesheet" 
      type="text/css" />

{% end block %}

{% block content %}

<h1 class="patients">Search Results Summary: Patients</h1>
<p>You searched for: {{ search_query }}.
<hr/>

<table id="pat_srp_table" class="display" name="pat_srp_table">
  <thead>
    <tr>
      <th>ID</th>
      <th>Title</th>
      <th>Name</th>
      <th>Age</th>      
      <th>Phone</th>
      <th>Relative</th>
      <th>Relative's Phone</th>
      </tr>
  </thead>

  <tbody>
    {% for res in search_results %}
    <tr>
      <td> {{ res.id }}    </td>
      <td> {{ res.title }} </td>
      <td> {{ res.name }}  </td>
      <td> {{ res.age }}  </td>
      <td> {{ res.phone }} </td>
      <td> {{ res.relative }} </td>
      <td> {{ res.relative_phone }} </td>
    </tr>
    {% end %}
  </tbody>
</table>

{% end block %}

Add two new columns to patient search results page
Add two new columns to patient search results page

- Relative name
- Relative's phone number

Fixes: https://github.com/skarra/PRS/issues/23
