Skip to content

Commit 6f22805

Browse files
committed
Fix examples for channel form field_errors tag
1 parent 70f0f8d commit 6f22805

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/channels/channel-form/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<li>{error}</li>
122122
{/global_errors}
123123
{field_errors}
124-
<li>{error}</li>
124+
<li>{field}: {error}</li>
125125
{/field_errors}
126126
</ul>
127127
{/if}

docs/channels/channel-form/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ If you have chosen [inline error handling](#error_handling), you can display the
428428

429429
### `{field_errors}`
430430

431-
{field_errors}{error}{/field_errors}
431+
{field_errors}{field}: {error}{/field_errors}
432432

433433
If you have chosen [inline error handling](#error_handling), you can display field-related entry submission errors.
434434

0 commit comments

Comments
 (0)