{% extends "cm_portal/geriatric_index.html" %} {% block title %}| List of Drugs{% endblock %} {% block page_title %}| List of Drugs{% endblock %} {% load static %} {% block search_form %} {% endblock %} {% block sidebar %}

{% if user.is_authenticated %} {% include 'cm_portal/user.html' %} {% endif %}

{% endblock %} {% block content %} {% if drug_list %}
{% for drug in drug_list %} {% include 'cm_portal/drug_list_item.html' %} {% endfor %}
{% else %}

There are no drugs in the portal.

{% endif %}
{% if is_paginated %} {% include 'cm_portal/pagination.html' %} {% endif %} {% if perms.cm_portal.add_drug %} Add a drug {% else %} Add a drug {% endif %} {% endblock %}