Update TO form based on new model

This commit is contained in:
leigh-mil
2019-06-01 17:02:18 -04:00
committed by Montana
parent c90e574e83
commit 91e41199b7
11 changed files with 92 additions and 870 deletions

View File

@@ -0,0 +1,47 @@
{% 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 %}