Create macro for form step headings
This commit is contained in:
21
templates/task_orders/form_header.html
Normal file
21
templates/task_orders/form_header.html
Normal 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 %}
|
Reference in New Issue
Block a user