Use url param instead

This commit is contained in:
richard-dds
2018-06-19 11:37:27 -04:00
parent 62a5d4a983
commit a9afad0a7f
6 changed files with 40 additions and 33 deletions

View File

@@ -14,7 +14,12 @@
<main class="main-content usa-width-two-thirds">
<form method='POST' action='{{ reverse_url('request_form', current) }}'>
{% if request_id %}
<form method='POST' action="{{ reverse_url('request_form_update', current, request_id) }}">
{% else %}
<form method='POST' action="{{ reverse_url('request_form_new', current) }}">
{% end %}
{% module xsrf_form_html() %}
{% block form %}
form goes here