Skip to content

Commit

Permalink
custom afform generation - correct afblock comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ufundo committed Dec 17, 2024
1 parent 4ccbfa8 commit 6d8f478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/afform/core/templates/afform/customGroups/afblock.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{foreach from=$group.field_names item=field_name}
{* for multiple record fields there is no need to prepend
the group name because it is provided as the join_entity above *}
the group name because it will be the form entity itself *}
<af-field name="{if !$group.is_multiple}{$group.name}.{/if}{$field_name}" />
{/foreach}

Expand Down

0 comments on commit 6d8f478

Please sign in to comment.