{% from "_includes/forms" import select, field %}
{% set planList = [] %}
{% if gateway.plans is not null %}
{% for plan in gateway.plans %}
{% set planList = planList|merge([{'label': plan[0], 'value': loop.index - 1}]) %}
{% endfor %}
{% endif %}
{% set planInput %}