{% extends "base.html" %}

{% block content %}

<div class="col task-order-form">

  {% include 'task_orders/new/menu.html' %}

  {% include "fragments/flash.html" %}

  {% block form_action %}
    <form method='POST' action="{{ action_url }}" autocomplete="off" enctype="multipart/form-data">
  {% endblock %}

    <div class="panel">

      <div class="panel__heading">
        <h1 class="task-order-form__heading subheading">
          <div class="h2">Task Order Builder</div>
          {% block heading %}{% endblock %}
        </h1>
      </div>

      <div class="panel__content">

        {{ form.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" if ko_edit else "Save & Continue" }}' />
      </div>

    {% endblock %}

  </form>

</div>

{% endblock %}
