Create macro for form step headings

This commit is contained in:
leigh-mil
2019-07-18 16:26:49 -04:00
parent ec94c3d084
commit 69c816335a
6 changed files with 34 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
{% macro TOFormStepHeader(title, description, to_number=None) %}
<div class="column">
<div class="form-row">
<div class="form-col form-col--two-thirds">
<div class="h2">
{{ title }}
</div>
</div>
<div class="form-col form-col--third">
{% if to_number %}
<strong>Task Order Number:</strong> {{ to_number }}
{% endif %}
</div>
</div>
<div class="form-row">
<div>
{{ description }}
</div>
</div>
</div>
{% endmacro %}