Add id to Reporting/App Info on first form page it can be linked to directly

This commit is contained in:
leigh-mil 2019-01-16 11:33:04 -05:00
parent 35636099d2
commit 5289614140
2 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@
<hr> <hr>
<h3 class="subheading">{{ "task_orders.new.app_info.project_title" | translate }}</h3> <h3 id="reporting" class="subheading">{{ "task_orders.new.app_info.project_title" | translate }}</h3>
{{ OptionsInput(form.app_migration) }} {{ OptionsInput(form.app_migration) }}
{{ OptionsInput(form.native_apps) }} {{ OptionsInput(form.native_apps) }}
{{ MultiCheckboxInput(form.complexity, form.complexity_other) }} {{ MultiCheckboxInput(form.complexity, form.complexity_other) }}

View File

@ -10,11 +10,11 @@
{% block form %} {% block form %}
{% macro TOEditLink(screen=1) %} {% macro TOEditLink(screen=1, anchor=None) %}
{% if task_order %} {% if task_order %}
{{ EditLink(url_for("task_orders.new", screen=screen, task_order_id=task_order.id)) }} {{ EditLink(url_for("task_orders.new", screen=screen, task_order_id=task_order.id, _anchor=anchor)) }}
{% else %} {% else %}
{{ EditLink(url_for("task_orders.new", screen=screen)) }} {{ EditLink(url_for("task_orders.new", screen=screen, _anchor=anchor)) }}
{% endif %} {% endif %}
{% endmacro %} {% endmacro %}
@ -60,7 +60,7 @@
<hr> <hr>
<h3 class="subheading">{{ "task_orders.new.review.reporting"| translate }} {{ TOEditLink(screen=1) }}</h3> <h3 class="subheading">{{ "task_orders.new.review.reporting"| translate }} {{ TOEditLink(screen=1, anchor="reporting") }}</h3>
<div class="row"> <div class="row">
<div class="col col--grow"> <div class="col col--grow">