Skip to content

Commit

Permalink
Add option to checkbox_list.tt to set field names for individual fields
Browse files Browse the repository at this point in the history
  • Loading branch information
stolman-digitpaint committed Apr 19, 2022
1 parent 2cb7082 commit 7b1fa4e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions views/fields/checkbox_list.tt
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
<li class="list__item">
[%
INCLUDE fields/sub/checkbox.tt
id = item.field_id
name = name
label = item.name
value = item.id
id = item.field_id
name = item.field_name || name
label = item.name
value = item.id
custom_classes = custom_classes
checked = item.is_checked
is_disabled = item.is_disabled
popover_body = "";
checked = item.is_checked
is_disabled = item.is_disabled
popover_body = "";
%]
</li>
[%
Expand Down

0 comments on commit 7b1fa4e

Please sign in to comment.