Aurora.Uix.Templates.Basic.Renderers.FormRenderer (Aurora UIX v0.1.4-rc.3)

Copy Markdown

Renders form live components for creating or editing entities in Aurora UIX.

Key Features

  • Renders form containers and headers
  • Handles validation and submission
  • Integrates with Aurora UIX context and helpers
  • Supports customizable form layouts and actions

This module handles the rendering of form components, including the form container, header, validation, and submission handling.

Summary

Functions

Renders a form view for creating or editing entities.

Functions

render(assigns)

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

Renders a form view for creating or editing entities.

Parameters

  • assigns (map()) - LiveView assigns containing:
    • :auix (map()) - Aurora UIX context with form and layout configuration.
    • :action (atom()) - Current action (:edit, :new, :show_edit).

Returns

Phoenix.LiveView.Rendered.t() - Rendered form with fields and submission actions.