diff --git a/pages/06.forms/01.blueprints/01.fields-available/docs.md b/pages/06.forms/01.blueprints/01.fields-available/docs.md index 559435bf2..eef7ea0e7 100644 --- a/pages/06.forms/01.blueprints/01.fields-available/docs.md +++ b/pages/06.forms/01.blueprints/01.fields-available/docs.md @@ -893,12 +893,13 @@ content: [/prism] [div class="table table-keycol"] -| Attribute | Description | -| :----- | :----- | -| `title` | A heading title | -| `underline` | Add an underline after the title | -| `text` | A text to show beneath | -| `security` | An array of credentials a user needs to visualize this section | +| Attribute | Description | +| :----- | :----- | +| `title` | A heading title | +| `underline` | Add an underline after the title | +| `text` | A text to show beneath | +| `security` | An array of credentials a user needs to visualize this section | +| `title_level` | Set a custom headline tag. Default: `h3` | [/div] diff --git a/pages/06.forms/02.forms/02.fields-available/docs.md b/pages/06.forms/02.forms/02.fields-available/docs.md index 1c07f6dc0..7f56ddbec 100644 --- a/pages/06.forms/02.forms/02.fields-available/docs.md +++ b/pages/06.forms/02.forms/02.fields-available/docs.md @@ -674,6 +674,34 @@ header.choose_a_number_in_range: --- +### Section Field + +The `Section` field type is used to divide a setting page into sections. + +Example: + +[prism classes="language-yaml line-numbers"] +content: + type: section + title: PLUGIN_ADMIN.DEFAULTS + underline: true + + fields: + + #..... subfields +[/prism] + +[div class="table table-keycol"] +| Attribute | Description | +| :----- | :----- | +| `title` | A heading title | +| `text` | A text to show beneath | +| `security` | An array of credentials a user needs to visualize this section | +| `title_level` | Set a custom headline tag. Default: `h3` | +[/div] + +--- + ### Select Field ![Select Field](select_field.gif)