Sticky right-rail inspector: optional section headings and label/value rows whose value may be any inline control.
<.inspector aria-label="Ticket">
<.inspector_section title="Properties">
<.property_row label="Repo">enventory_new</.property_row>
<.property_row label="Status">
<.select id="status" name="status" value="in_progress" options={@statuses} />
</.property_row>
</.inspector_section>
</.inspector>
Summary
Functions
Attributes
class(:any) - Extra classes merged onto the rail. Defaults tonil.- Global attributes are accepted. Arbitrary HTML/
phx-*attributes passed through.
Slots
inner_block(required) -inspector_section/1andproperty_row/1children.
Attributes
title(:string) - Optional uppercase section heading. Defaults tonil.class(:any) - Extra classes merged onto the section. Defaults tonil.- Global attributes are accepted. Arbitrary HTML/
phx-*attributes passed through.
Slots
inner_block(required) - Section body, usuallyproperty_row/1.
Attributes
label(:string) (required) - Row label (left column).class(:any) - Extra classes merged onto the row. Defaults tonil.- Global attributes are accepted. Arbitrary HTML/
phx-*attributes passed through.
Slots
inner_block(required) - Value: text or any inline control.