{% load staticfiles i18n widget_tweaks %}
{% trans 'Phone' %} {% if invite.event.phone_question_type == 'all' %} {% endif %} {{ phone_formset.management_form }}
{% for phone_form in phone_formset %} {% for hidden in phone_form.hidden_fields %}{{ hidden }}{% endfor %}
{{ phone_form.area_code|add_class:'form-control' }} {% if phone_form.area_code.errors %} {{ phone_form.area_code.errors|striptags }} {% endif %}
{{ phone_form.number|add_class:'form-control' }} {% if phone_form.number.errors %} {{ phone_form.number.errors|striptags }} {% endif %}
{{ phone_form.phone_type|add_class:'form-control' }} {% if phone_form.phone_type.errors %} {{ phone_form.phone_type.errors|striptags }} {% endif %}
{% if invite.event.phone_question_type == 'all' %}
{% endif %}
{% if not forloop.last %}
{% endif %} {% endfor %}