{% extends "base.html" %} {% block title %}{% if is_ldap_configured %}{{ _('Invite a Guest')}}{% else %}{{ _('Invite another User') }}{% endif %} — {{ service_name }}{% endblock %} {% block content %}

{% if is_ldap_configured %}{{ _('Invite a Guest') }}{% else %}{{ _('Invite another User') }}{% endif %}

{{ _('To invite %(user)s to %(service_name)s, please submit their email address using the form below. They will then receive an email which can be used to complete the registration process.', service_name=service_name, user=(_('a guest') if is_ldap_configured else _('another user'))) }}

{{ invitation_form.csrf_token() }}
{% if has_success %} {{ _('The invitation to %(email)s has been sent.', email=invitation_form.email.data)}} {% endif %} {% if has_error %} {{ _('Please enter a valid email address.')}} {% endif %}
{% endblock %}