Skip to content

Commit 5e8aa10

Browse files
Update code example
1 parent ce3161c commit 5e8aa10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/collections/tags/form-submission.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The `{{ $submission['name'] }}` and `{{ $submission['rating'] }}` variables corr
5151
<s:form:set
5252
is="feedback"
5353
>
54-
@if ($success)
54+
@if (Statamic::tag('form:success')->in('feedback')->fetch())
5555
<s:form:submission
5656
as="submission"
5757
>

0 commit comments

Comments
 (0)