From 6212798ed28534d62ec1d90d5c44cdd640a6a8f8 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Thu, 13 Jul 2023 13:09:27 -0700 Subject: [PATCH] Update inaccuracy in fluid docs --- docs/fieldtypes/fluid.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/fieldtypes/fluid.md b/docs/fieldtypes/fluid.md index 968a48def..4eecf99cb 100755 --- a/docs/fieldtypes/fluid.md +++ b/docs/fieldtypes/fluid.md @@ -185,7 +185,7 @@ True, if the current field group is the first one. ### `last_group` - {fluid_content:first_group} + {fluid_content:last_group} True, if the current field group is the last one. @@ -284,10 +284,10 @@ A fluid field can handle the output of all of those fields, as many as they add, {/fluid_field:seo_title} {fluid_field:seo_description} - {/fluid_field:seo_description} - {/fields} + {/fluid_field:seo_description} + {/fields} {/fluid_field:seo_group} - + {/fluid_field} ``` @@ -440,7 +440,7 @@ Radio and single select fields use single variables: Your Link {/my_fluid_field:my_url} {/my_fluid_field} - + ## Field Group Examples Field groups in fluid work exactly like fields do, with one extra tag pair ``{fields}...{/fields}`` required. @@ -458,11 +458,11 @@ Field groups in fluid work exactly like fields do, with one extra tag pair ``{fi {my_fluid_field:my_email} {content:mailto title="Email about their dog" subject="Question about your dog" encode="no"} {/my_fluid_field:my_email} - + {/fields} - {/my_fluid_field:my_field_group} + {/my_fluid_field:my_field_group} {/my_fluid_field} - + Field Group with Text and Relationship fields ### Field Group with Text and Relationship fields @@ -474,7 +474,7 @@ Field Group with Text and Relationship fields {my_fluid_field:my_textarea} {content} {/my_fluid_field:my_textarea} - + {my_fluid_field:my_relationship} {content status="open"} {if content:count == 1}

Relationships ({content:total_results})

{/if} @@ -488,7 +488,7 @@ Field Group with Text and Relationship fields {/content:my_related_field_in_child_entry} {/content} {/my_fluid_field:my_relationship} - + {/fields} {/my_fluid_field:my_field_group} {/my_fluid_field}