Use kwargs in TOFormStepHeader to fix issue of swapped titles and descriptions

This commit is contained in:
leigh-mil
2019-12-19 13:01:20 -05:00
parent a6382eacf8
commit fc1b530e70
5 changed files with 17 additions and 6 deletions

View File

@@ -12,7 +12,11 @@
{% block to_builder_form_field %}
<div>
{{ TOFormStepHeader('task_orders.form.clin_title' | translate, 'task_orders.form.clin_description' | translate, task_order.number) }}
{{ TOFormStepHeader(
title='task_orders.form.clin_title' | translate,
description='task_orders.form.clin_description' | translate,
to_number=task_order.number,
) }}
{% for clin in form.clins %}
{{ CLINFields(contract_start, contract_end, clin, index=loop.index - 1) }}