Set correct consent text on initial load for renewals (#21)

This commit is contained in:
Skylar Ittner 2020-04-01 12:45:58 -06:00
parent 08fd04dae5
commit 8f293fa2e2

View File

@ -369,7 +369,13 @@ if (isset($_SESSION['familyid']) && $database->has('families', ['familyid' => $_
<div class="form-check">
<input class="form-check-input" type="checkbox" value="1" name="agree_terms" id="agree_terms" required>
<label class="form-check-label" for="agree_terms">
I/We home school our <span id="child_ren">child</span> and have read and understand this application. We also agree to abide by HACHEs policy of common courtesy and respect for one another.
I/We home school our <span id="child_ren"><?php
if (count($children) > 1) {
echo "children";
} else {
echo "child";
}
?></span> and have read and understand this application. We also agree to abide by HACHEs policy of common courtesy and respect for one another.
</label>
</div>