{% extends base_template %} {% load static %} {% block title %}SOPs{% if site_name %} | {{ site_name }}{% endif %}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Standard Operating Procedures

{{ hero_tagline }}

{% if all_categories %} {% endif %} {% if is_filtered %} Clear {% endif %} {% if can_edit %} + New SOP {% endif %}
{% if is_filtered %} {% if flat_sops %}

{{ flat_sops|length }} result{{ flat_sops|length|pluralize }} found

{% for sop in flat_sops %} {% include "sops/includes/sop_card.html" with sop=sop %} {% endfor %}
{% else %}

No SOPs matched your search. Try different terms or clear the filters.

Clear Filters
{% endif %} {% elif grouped %} {% for group_name, sops in grouped.items %}

{{ group_name }}

{% for sop in sops %} {% include "sops/includes/sop_card.html" with sop=sop %} {% endfor %}
{% endfor %} {% else %}
{% if can_edit %}

No SOPs yet. Create the first one.

+ Create First SOP {% else %}

No procedures published yet. Check back later.

{% endif %}
{% endif %}
{% endblock %}