Skip to main content

render_view_with_ids

Function render_view_with_ids 

Source
pub fn render_view_with_ids(
    spec: &ViewSpec,
    mode: ViewMode,
    rows: &[(i64, RowData)],
) -> RenderedView
Expand description

Like render_view, but each row carries its record id so list/card layouts can link to /admin/<model>/<id>/edit. Used by the live list page.