Skip to content

Commit 11e4983

Browse files
authored
Fix twig syntax to be PHP-compatable (#1906)
1 parent e488a41 commit 11e4983

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/four-hounds-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudfour/patterns": patch
3+
---
4+
5+
Fix twig syntax to be PHP-compatable

src/components/subscribe/subscribe.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
{% if weekly_digests_heading %}
5555
{% include '@cloudfour/components/heading/heading.twig' with {
5656
content: weekly_digests_heading,
57-
id: "get-weekly-digests-" + form_id,
57+
id: "get-weekly-digests-#{form_id}",
5858
class: 'c-subscribe__heading',
5959
level: heading_level|default(2),
6060
tag_name: heading_tag,

0 commit comments

Comments
 (0)