FieldFamily.field_content
Server-rendered
Groups field copy beside an inline control.
field_content/1 is useful when a checkbox, switch, or radio item sits next
to label and helper text.
Field content
Show deployment alerts on this device.
<.field_control class="flex items-start gap-3">
<.checkbox id="desktop-alerts" name="alerts[desktop]" />
<.field_content>
<.field_label>
<.label for="desktop-alerts">Desktop alerts</.label>
</.field_label>
<.field_description>Show deployment alerts on this device.</.field_description>
</.field_content>
</.field_control>
Attributes
| Name | Type | Default | Values | Global Includes |
|---|---|---|---|---|
class
|
:string |
— | — | — |
rest
|
:global |
— | — | — |
Slots
| Slot | Slot Attributes |
|---|---|
inner_block
Required
|
— |