fix: twig add-member
* add checkboxes for each company document
This commit is contained in:
parent
0c5fa617ad
commit
79db6b2ec9
@ -74,6 +74,15 @@
|
||||
<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'/>
|
||||
</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 class='col'>
|
||||
<div class='input-group input-group-outline mb-3'>
|
||||
|
Loading…
Reference in New Issue
Block a user