
{% extends "doctor_base.html" %}
{% load static %}
{% block content %}
    {% for i in data %}
        <div class='container'>
            <div class='card'>
                <img src="{% static 'themes/images/user-icon.png' %}">
                <div class='card-body'>
                    <div class='card-text'>
                        <h3>Patient Name : {{ i.pid.name }}</h3>
                        <p>
                        Patient ID : {{ i.pid.pid }}
                        </p>
                    </div>
                    <div class="btn-group">
                        <a href="{%  url 'doctorshowhisttory' i.pid.pid %}" class="btn btn-lg" id="btn">View History</a>
                        <a href="{%  url 'saveprescription'  i.pid.pid  %}" class="btn btn-lg" id="btn">Add Prescription</a>
                    </div>
                </div>
            </div>
        </div>
    {% endfor %}
{% endblock %}