# `MishkaCmsCoreWeb.Live.Admin.Components.SiteDetailsModal`
[🔗](https://github.com/mishka-group/mishka_cms_core/blob/v0.0.1/lib/mishka_cms_core_web/live/admin/components/site_details_modal.ex#L5)

Site record modal: **Overview** (read-only Site Details + real `MishkaCmsCore.Runtime.SiteHealth`
metrics + Allowed Origins) and **Configuration** (the live `MishkaGervaz.Form.Web.Live` Site form).

Shares ALL chrome (modal shell, segmented tabs, the `detail`/`status_row`/`metric` card helpers) with
the runtime preview modal via `MishkaCmsCoreWeb.Live.Admin.Components.DetailModal` — this module only
supplies Site's two tabs + content. Driven by the parent's `@site_modal` map (`record`, `active_tab`,
`health`, `loading?`, `form_record_id`); the form's `record_id` flows through the template (NOT
`send_update`) so a parent re-render can't reset it. See the parent
`MishkaCmsCoreWeb.Live.Admin.Dashboard.Runtime.Site.Index`.

# `modal`

## Attributes

* `site_modal` (`:map`) (required)
* `current_user` (`:any`) - Defaults to `nil`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
