{% extends 'layouts/base.html' %} {% load i18n %} {% load action_icons %} {% block title %}{% trans "Create Standard" %}{% endblock %} {% block content %}

{% trans "Create New Standard" %}

{% trans "Add a new compliance standard" %}

{% if department_id %} {% action_icon "back" %} {% trans "Back to Department Standards" %} {% else %} {% action_icon "back" %} {% trans "Back to Dashboard" %} {% endif %}
{% trans "Standard Information" %}
{% csrf_token %}
{{ form.source }} {% if form.source.help_text %} {{ form.source.help_text }} {% endif %} {% if form.source.errors %}
{{ form.source.errors }}
{% endif %}
{{ form.category }} {% if form.category.help_text %} {{ form.category.help_text }} {% endif %} {% if form.category.errors %}
{{ form.category.errors }}
{% endif %}
{{ form.code }} {% if form.code.help_text %} {{ form.code.help_text }} {% endif %} {% if form.code.errors %}
{{ form.code.errors }}
{% endif %}
{{ form.title }} {% if form.title.errors %}
{{ form.title.errors }}
{% endif %}
{{ form.title_ar }} {% if form.title_ar.errors %}
{{ form.title_ar.errors }}
{% endif %}
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors }}
{% endif %}
{{ form.department }} {% trans "Leave empty to apply to all departments" %} {% if form.department.errors %}
{{ form.department.errors }}
{% endif %}
{{ form.effective_date }} {% if form.effective_date.errors %}
{{ form.effective_date.errors }}
{% endif %}
{{ form.review_date }} {% if form.review_date.errors %}
{{ form.review_date.errors }}
{% endif %}
{{ form.is_active }}
{% if department_id %} {% trans "Cancel" %} {% else %} {% trans "Cancel" %} {% endif %}
{% trans "Help" %}
{% trans "Standard Code Format" %}

{% trans "Use a unique code to identify this standard" %}
{% trans "Examples:" %}
- STD-001
- QM-05
- PS-12

{% trans "Department Assignment" %}

{% trans "Leave the department field empty if this standard applies to all departments. Select a specific department only if the standard is department-specific." %}

{% trans "Dates" %}

{% trans "Effective date: When the standard becomes mandatory" %}
{% trans "Review date: When the standard should be reviewed for updates" %}

{% endblock %}