Skip to main content

Module render

Module render 

Source
Expand description

HTML rendering for admin views.

These functions turn the view data structures (built from the model registry + crate::data::DataSource) into complete HTML documents so the router handlers can respond with real pages.

Functionsยง

render_create
Render the create form.
render_dashboard
Render the dashboard page.
render_detail
Render a record detail page.
render_edit
Render the edit form.
render_error
A minimal error page for failed mutations.
render_list
Render a model list page (table of rows + pagination).
render_not_found
A minimal not-found page.
render_unauthorized
A minimal unauthorized page (used when require_auth blocks a request).