{# Label #} {# View #}
{% if data is not none and "user_id" in data %} {% with referenced_user = get_user(data.user_id) %} {{ referenced_user.name }} (#{{ referenced_user.id }}) {% endwith %} {% else %} — {% endif %}
{{ _('Your input is not valid. Please check.') }}
{# Form #}
{% if id_prefix+'_uid' in errors %} {{ _('Error:') }} {{ errors[id_prefix+'_uid'] }}{% endif %} {% if 'note' in schema %} {{ _('Note:') }} {{ schema['note'] | get_translated_text }}{% endif %}