Skip to content

_PolicyOnlyLayout

BOL layout variant that shows the policy header without the menus. It suits pages that need the policy bar only.

Purpose

  • Render the policy header and the page body with the shared styles and scripts (BR-BOLMIDDLEWARE-012).

Context

  • Namespace: BolMiddleware.Pages.Shared
  • Assembly/package: BolMiddleware

Public members

Member Signature Purpose
Layout view Pages/Shared/_PolicyOnlyLayout.cshtml Razor layout bound to BolPolicyModel rendering the policy header view component, context form, and body.
Optional partials MiddlewareIncludes/* Consumer-supplied extension partials included when present.

Behavioral notes

  • Loads the CDN font stylesheet and Bootstrap 5.3.2 with SRI.

Constraints and usage notes

  • The page model must derive from BolPolicyModel.

Sources

  • src/BolMiddleware/Pages/Shared/_PolicyOnlyLayout.cshtml