{% extends 'base.html' %} {% load static %} {% block title %}{% if template %}Edit{% else %}Create{% endif %} Consent Template{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{% if template %}Edit Template{% else %}Create New Template{% endif %}

{% if template %}Modify the existing consent template{% else %}Create a new consent form template for patient care{% endif %}

Cancel
Saved
{% csrf_token %}
Template Information
Enter a descriptive name for this consent template
Template version number
Add relevant tags to help organize and search templates
Template Content
Quick Insert
Use the rich text editor to create your consent form content. Insert variables using the buttons above.
Template Variables
Variable Manager
Available Variables:
{{patient_name}} {{patient_id}} {{date}} {{doctor_name}} {{procedure_name}} {{hospital_name}} {{signature_date}} {{witness_name}}
Template Settings
Leave blank for no expiry
Days before expiry to send reminder
Template Preview
Template Preview

Click "Update Preview" to see how your template will look

Cancel
{% endblock %} {% block extra_js %} {% endblock %}