{% extends 'base.html' %} {% load static %} {% block title %}Consent Templates Management{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Consent Templates Management

Manage and organize consent form templates for patient care

New Template
Total Templates
{{ stats.total_templates|default:0 }}
Active Templates
{{ stats.active_templates|default:0 }}
Total Usage
{{ stats.total_usage|default:0 }}
This Week
{{ stats.weekly_usage|default:0 }}
Showing {{ templates.count|default:0 }} templates
{% for template in templates %}
{% if template.status == 'active' %} Active {% elif template.status == 'draft' %} Draft {% elif template.status == 'archived' %} Archived {% else %} {{ template.get_status_display }} {% endif %}
{{ template.name }}
{{ template.get_category_display }} {{ template.get_language_display }}

{{ template.description|truncatewords:20 }}

{{ template.usage_count|default:0 }}
Used
{{ template.version|default:"1.0" }}
Version
{{ template.updated_at|date:"M d" }}
Updated
{% if template.status != 'archived' %} {% endif %}
{% empty %}

No Consent Templates Found

Get started by creating your first consent template

Create First Template
{% endfor %}
{% for template in templates %} {% endfor %}
Template Name Category Language Status Usage Count Last Updated Actions
{{ template.name }}
{{ template.description|truncatewords:8 }}
{{ template.get_category_display }} {{ template.get_language_display }} {% if template.status == 'active' %} Active {% elif template.status == 'draft' %} Draft {% elif template.status == 'archived' %} Archived {% else %} {{ template.get_status_display }} {% endif %} {{ template.usage_count|default:0 }} {{ template.updated_at|date:"M d, Y" }}
{% endblock %} {% block extra_js %} {% endblock %}