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

{% trans "Create New Standard" %}

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

{% trans "Standard Information" %}
{% csrf_token %} {% if form.non_field_errors %}
{% trans "Please fix the following errors:" %}
    {% for error in form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %} {% if form.errors %}
{% trans "Please fix the errors below." %}
{% endif %}
{{ 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 %}

{% trans "Select departments this standard applies to. Leave all unchecked to apply to all departments." %}

{% for dept in departments %} {% empty %}

{% trans "No departments available" %}

{% endfor %}
{% if form.departments.errors %}

{{ form.departments.errors }}

{% endif %}
{{ form.activity_type }} {% if form.activity_type.help_text %}

{{ form.activity_type.help_text }}

{% endif %} {% if form.activity_type.errors %}

{{ form.activity_type.errors }}

{% endif %}

{% trans "Select a parent standard if this is a sub-standard (e.g., 4.3.1 under 4.3)" %}

{% if form.parent_standard.errors %}

{{ form.parent_standard.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 %}

{% trans "Section headers don't require assessment" %}

{% trans "Uncheck for informational standards only" %}

{% 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 "Select one or more departments this standard applies to. Leave all departments unchecked if the standard is global and applies to all departments." %}

{% trans "Dates" %}

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

{% endblock %}