{% extends "page.html" %} {% block page_content %}

Шаг {{ step }} из 5

{% for s in range(1,6) %}Шаг {{ s }}{% endfor %}
{% if session_id %}{% endif %} {% for item in items %}
{% if item.type == 'text' %} {% elif item.type == 'number' %} {% elif item.type == 'textarea' %} {% elif item.type in ('select','radio') %} {% elif item.type == 'checkbox' %}
{% for opt in (item.options or {}).get('options', []) %} {% endfor %}
{% endif %} {% if item.help_text %}{{ item.help_text }}{% endif %}
{% endfor %}
{% if step > 1 %}← Назад{% endif %} {% if step < 5 %}{% else %}{% endif %}
{% endblock %}