{% extends "base.html" %} {% load render_table from django_tables2 %} {% load static %} {% block title %} List patients {% endblock %} {% block head %} {% endblock %} {% block content %} {# { datatable } #} {% render_table object_list %}

List patients

{% if is_paginated %} {% endif %} {% for patient in object_list %} {% endfor %}
Detail 姓名 病歷號 性別 生日 地址 電話 身份證號 Memo Delete Edit Print
Detail {{ patient.name }} {{ patient.medical_records }} {{ patient.get_gender_display }} {{ patient.birthday }} {{ patient.address }} {{ patient.phone }} {{ patient.id_cards }} {{ patient.memo }} {% if patient.dead %} {{patient.dead}}已死亡 {% endif %} Delete Edit Print
{% if is_paginated %} {% endif %}
{% endblock %}