fix: twig add-member

* add checkboxes for each company document
This commit is contained in:
Ryan Prather 2025-01-21 14:43:55 -05:00
parent 0c5fa617ad
commit 79db6b2ec9

View File

@ -74,6 +74,15 @@
<label for='member_form_school' class='form-label'>School</label> <label for='member_form_school' class='form-label'>School</label>
<input type='text' name='{{ field_name(form.school) }}' id='member_form_school' class='form-control'/> <input type='text' name='{{ field_name(form.school) }}' id='member_form_school' class='form-control'/>
</div> </div>
<div class='input-group input-group-outline mb-3'>
{% for d in docs %}
<span class='check'>
<input type='checkbox' name='{{ field_name(form.docs) }}[]' id='{{ d.title|lower|replace({' ': '-'}) }}' value='{{ d.id }}'/>
<label for='{{ d.title|lower|replace({' ': '-'}) }}'>{{ d.title }}</label>
</span>
{% endfor %}
</div>
</div> </div>
<div class='col'> <div class='col'>
<div class='input-group input-group-outline mb-3'> <div class='input-group input-group-outline mb-3'>