Aurora.Uix.Templates.Basic.Renderers.OneToMany (Aurora UIX v0.1.4-rc.4)

Copy Markdown

Renders one-to-many association fields in Phoenix LiveView templates for Aurora UIX.

Key Features

  • Displays and manages collections of associated records
  • Provides list display with sortable columns
  • Supports actions for each record (show, edit, delete)
  • Links to create new associated records
  • Enables filtering and relationship management
  • Integrates with Aurora UIX context and helpers

Summary

Functions

Renders a one-to-many association field.

Functions

render(assigns)

@spec render(map()) :: Phoenix.LiveView.Rendered.t()

Renders a one-to-many association field.

Parameters

  • assigns (map()) - LiveView assigns containing:
    • :field (map()) - Field configuration with association details.
    • :auix (map()) - Aurora UIX context and configuration.

Returns

Phoenix.LiveView.Rendered.t() - Rendered one-to-many association component.