×

ویرایش اطلاعات بیمار

{# New container for scrollability #} {# First 28 fields (indices 0-27) #}
{% for i in range(28) %} {% if i < column_pairs|length %} {% set col = column_pairs[i][0] %} {% set name = column_pairs[i][1] %}
{% endif %} {% endfor %}

اطلاعات مراحل پیوند (۳۰۰ مرحله)

{# Remaining 900 fields (300 stages) #} {# Stages are from index 28 up to 927 #}
{% for stage_num in range(300) %} {% set stage_start_index = 28 + (stage_num * 3) %} {% if stage_start_index < column_pairs|length %}
اطلاعات مرحله {{ stage_num + 1 }}
{% for field_in_stage in range(3) %} {% set current_index = stage_start_index + field_in_stage %} {% if current_index < column_pairs|length %} {% set col = column_pairs[current_index][0] %} {% set name = column_pairs[current_index][1] %}
{% endif %} {% endfor %}
{% endif %} {% endfor %}
{# End of form-scroll-container #}