Update checkbox macro to accept label

This commit is contained in:
leigh-mil
2019-02-11 10:34:48 -05:00
parent 040ee87a8c
commit 23ec46141b
2 changed files with 9 additions and 11 deletions

View File

@@ -43,15 +43,7 @@
<div class="form-col">
{% if not invited %}
<div class='form-row'>
<div class='usa-input'>
<fieldset v-on:change="onInput" class="usa-input__choices">
<legend>
{{ form.invite }}
<label for="contracting_officer-invite">{{ ("forms.officers." + officer_type + "_invite") | translate }}</label>
</legend>
</fieldset>
</div>
{{ CheckboxInput(form.invite, label=(("forms.officers." + officer_type + "_invite") | translate)) }}
</div>
{% endif %}
<div class='form-row'>