{% extends "withnav_template.html" %}
{% from "components/checkbox.html" import checkbox %}
{% from "components/textbox.html" import textbox %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}

{% block service_page_title %}
  Invite a team member
{% endblock %}

{% block maincolumn_content %}

  {{ page_header(
    'Invite a team member',
    back_link=url_for('main.manage_users', service_id=current_service.id)
  ) }}

  {% call form_wrapper() %}

    {{ textbox(form.email_address, width='1-1', safe_error_message=True) }}

    {% include 'views/manage-users/permissions.html' %}

    {{ page_footer('Send invitation email') }}

  {% endcall %}

{% endblock %}
