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

{% set page_title = 'Use platform admin view' %}

{% block per_page_title %}
  {{ page_title }}
{% endblock %}

{% block backLink %}
  {{ usaBackLink({ "href": url_for('.user_profile') }) }}
{% endblock %}

{% block maincolumn_content %}

  <div class="grid-row">
    <div class="grid-col-10">

      {% call form_wrapper() %}
        {{ form.enabled(param_extensions={
          'fieldset': {
            'legend': {
              'isPageHeading': True,
              'classes': 'usa-legend usa-legend--large'
            }
          },
          'hint': {
            'text': 'Signing in again clears this setting'
          }
        }) }}
        {{ page_footer('Save') }}
      {% endcall %}
    </div>
  </div>

{% endblock %}
