{% load i18n %} {% if language == 'ar' %}استبيان رضا المرضى{% else %}Patient Satisfaction Survey{% endif %} - PX360
{% if language == 'ar' %} English {% else %} العربية {% endif %}

{% if language == 'ar' %} {{ survey.survey_template.name_ar|default:survey.survey_template.name }} {% else %} {{ survey.survey_template.name }} {% endif %}

{% if language == 'ar' %} {{ survey.survey_template.description_ar|default:survey.survey_template.description }} {% else %} {{ survey.survey_template.description }} {% endif %}

{% if errors %}
{% if language == 'ar' %} يرجى تصحيح الأخطاء التالية: {% else %} Please correct the following errors: {% endif %}
    {% for error in errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% csrf_token %} {% for question in questions %}
{{ forloop.counter }}
{% if language == 'ar' and question.text_ar %} {{ question.text_ar }} {% else %} {{ question.text }} {% endif %} {% if question.is_required %} * {% endif %}
{% if question.help_text or question.help_text_ar %} {% if language == 'ar' and question.help_text_ar %} {{ question.help_text_ar }} {% else %} {{ question.help_text }} {% endif %} {% endif %} {% if question.question_type == 'rating' %}
{% for i in "12345" %} {% endfor %}
{% elif question.question_type == 'nps' %}
{% for i in "012345678910" %} {% endfor %}
{% if language == 'ar' %}غير محتمل على الإطلاق{% else %}Not at all likely{% endif %} {% if language == 'ar' %}محتمل جداً{% else %}Extremely likely{% endif %}
{% elif question.question_type == 'likert' %}
{% for value, label in "1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree"|split:"," %} {% with parts=label|split:":" %} {% endwith %} {% endfor %}
{% elif question.question_type == 'yes_no' %}
{% elif question.question_type == 'multiple_choice' %}
{% for choice in question.choices_json %} {% endfor %}
{% elif question.question_type == 'text' %} {% elif question.question_type == 'textarea' %} {% endif %}
{% endfor %}
{% if language == 'ar' %} شكراً لمشاركتك في تحسين تجربة المرضى {% else %} Thank you for helping us improve patient experience {% endif %}