Request flow seems to be working

This commit is contained in:
richard-dds
2018-08-02 10:59:05 -04:00
parent ed0893b4a0
commit 4ffbbb3471
5 changed files with 266 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
<ul>
{% for s in screens %}
<li class="progress-menu__item">
<a href="{{ url_for('requests.requests_form_update', screen=loop.index+1, request_id=request_id) if request_id else url_for('requests.requests_form_new', screen=loop.index+1) }}"
<a href="{{ url_for('requests.requests_form_update', screen=loop.index, request_id=request_id) if request_id else url_for('requests.requests_form_new', screen=loop.index) }}"
{% if g.matchesPath('/requests/new/{{ loop.index + 1 }}') %}class="active"{% endif %}
>
{{ s['title'] }}