{% extends "base.html" %}

{% block content %}

<div class="col">

  {% include 'requests/menu.html' %}

  {% if review_comment %}
    {% include 'requests/comment.html' %}
  {% endif %}

  {% block form_action %}
    {% if request_id %}
      <form method='POST' action="{{ url_for('requests.requests_form_update', screen=current, request_id=request_id) }}" autocomplete="off">
    {% else %}
      <form method='POST' action="{{ url_for('requests.requests_form_update', screen=current) }}" autocomplete="off">
    {% endif %}
  {% endblock %}

    <div class="panel">

      <div class="panel__heading">
        <h1>{% block heading %}{% endblock %}</h1>
        <div class="subtitle h2">New Request</div>
      </div>

      <div class="panel__content">

        {{ f.csrf_token }}
        {% block form %}
        form goes here
        {% endblock %}

      </div>

    </div>

    {% block next %}

      <div class='action-group'>
        <input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
      </div>

    {% endblock %}

  </form>

</div>

{% endblock %}
