{% load aurora itrans %}{% with ADV=field.field.flex_field.advanced %} {% if can_edit_inpage %}{% include "registration/_staff_edit_field.html" %}{% endif %}
{% if field.field.flex_field.validator and registration.client_validation %} {% endif %} {% if ADV.smart.marker %}>{% endif %} {% if ADV.smart.question %} {% endif %}
{% if ADV.smart.description %}{% translate ADV.smart.description %}{% endif %}
{# -- {{ field.field.flex_field.advanced.events.validation }} -- #} {% if field.custom_render %} {{ field.render }} {% else %} {{ field.errors }} {{ field }} {% endif %}
{# {% if user.is_staff %}{% include "i18n/_staff_edit_i18n.html" with original=field|smart:"hint,0" %}{% endif %} #} {% translate ADV.smart.hint %}
{% if ADV.events.init %}
function(){
        {{ ADV.events.init }}
    }
    
{% endif %}
{% endwith %}