{% extends "withnav_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
{% from "components/components/back-link/macro.njk" import usaBackLink %}

{% block service_page_title %}
  {{ sender_context.title }}
{% endblock %}

{% block backLink %}
  {{ usaBackLink({ "href": url_for('.view_template', service_id=current_service.id, template_id=template_id) }) }}
{% endblock %}

{% block maincolumn_content %}

  <div class="grid-row">
    {% call form_wrapper() %}
      {{ form.sender(param_extensions={
        'fieldset': {
          'legend': {
            'isPageHeading': True,
            'text': sender_context.title
          }
        },
        'classes': 'grid-col-9'
      }) }}
      <div class="grid-col-9">
        {{ page_footer('Continue') }}
      </div>
    {% endcall %}
    </div>
  </div>

{% endblock %}
