Merge pull request #135 from dod-ccpo/fix-request-form-markup
Fix form markup
This commit is contained in:
commit
e59b1f09c4
@ -6,6 +6,14 @@
|
||||
|
||||
{% include 'requests/menu.html' %}
|
||||
|
||||
{% 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">
|
||||
@ -14,13 +22,6 @@
|
||||
</div>
|
||||
|
||||
<div class="panel__content">
|
||||
{% 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 %}
|
||||
|
||||
{{ f.csrf_token }}
|
||||
{% block form %}
|
||||
@ -38,7 +39,8 @@
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
</form>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user