Config, secrets, basic POST handling

* add script/config
  * add atst.ini
  * add cookie_secret
  * update docs
This commit is contained in:
Brian Duggan
2018-05-31 13:55:18 -04:00
committed by Jason Garber
parent 6cf7a7bffa
commit a340eede07
11 changed files with 43 additions and 22 deletions

View File

@@ -8,19 +8,21 @@
<h1>New Request</h1>
<aside class="sidenav usa-width-one-third">
{% include 'requests/sidebar.html.to' %}
</aside>
<main class="main-content usa-width-two-thirds">
{% block form %}
<form method='POST' action='{{ reverse_url('request_form', current) }}'>
{% module xsrf_form_html() %}
{% block form %}
form goes here
{% end %}
{% block next %}
<a class='usa-button usa-button-primary' href='{{ reverse_url('request_form',next_screen) }}'>Save &amp; Continue</a>
{% end %}
{% end %}
{% block next %}
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
{% end %}
</form>
</main>