{% extends 'layouts/base.html' %} {% load i18n %} {% load action_icons %} {% block title %}{% if source %}{% trans "Update Source" %}{% else %}{% trans "Create Source" %}{% endif %}{% endblock %} {% block content %}

{% if source %}{% trans "Update Source" %}{% else %}{% trans "Create Source" %}{% endif %}

{% if source %}{% trans "Edit standard source" %}{% else %}{% trans "Add new standard source" %}{% endif %}

{% action_icon "back" %} {% trans "Back to Sources" %}
{% trans "Source Information" %}
{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{{ form.name_ar }} {% if form.name_ar.errors %}
{{ form.name_ar.errors }}
{% endif %}
{{ form.code }} {% trans "Unique code for the source (e.g., CBAHI, JCI, ISO)" %} {% if form.code.errors %}
{{ form.code.errors }}
{% endif %}
{{ form.website }} {% trans "Official website URL (optional)" %} {% if form.website.errors %}
{{ form.website.errors }}
{% endif %}
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors }}
{% endif %}
{{ form.is_active }}
{% trans "Cancel" %}
{% trans "Help" %}
{% trans "Source Code" %}

{% trans "Use a unique code to identify the standard source organization." %}

{% trans "Examples:" %}
- CBAHI (Central Board for Accreditation of Healthcare Institutions)
- JCI (Joint Commission International)
- ISO (International Organization for Standardization)

{% trans "Active Status" %}

{% trans "Only active sources can be used when creating new standards. Inactive sources remain in the system but are not available for selection." %}

{% endblock %}