{% extends "deliver_grant_funding/grant_base.html" %}
{% from "govuk_frontend_jinja/components/back-link/macro.html" import govukBackLink %}

{% set page_title = "Add grant team member" %}
{% set active_item_identifier = "grant_team" %}

{% block beforeContent %}
  {{
    govukBackLink({
        "text": "Back",
        "href": url_for("deliver_grant_funding.list_users_for_grant", grant_id=grant.id)
    })
  }}
{% endblock beforeContent %}

{% block content %}
  <div class="govuk-grid-row">
    <div class="govuk-grid-column-two-thirds">
      <h1 class="govuk-heading-l">
        <span class="govuk-caption-l">Add grant team member</span>
        What’s their email address?
      </h1>
      <form method="post" novalidate>
        {{ form.csrf_token }}
        {{
          form.user_email(params={
            "classes": "govuk-!-width-two-thirds",
            "label": None
          })
        }}
        {{ form.submit }}
      </form>
    </div>
  </div>
{% endblock content %}
