mirror of
https://github.com/hanzoai/forge.git
synced 2026-10-30 15:00:39 +00:00
b093c2c43c
Sub-templates have direct access to `ctx.RootData` (the root data map), so there is no need for callers to explicitly pass it as `ctxData` via `dict`. Also fix #37569 by the way --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: wxiaoguang <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
14 lines
535 B
Handlebars
14 lines
535 B
Handlebars
{{template "base/head" ctx.RootData}}
|
|
<div role="main" aria-label="{{ctx.RootData.Title}}" class="page-content {{.pageClass}}" {{if .dataGlobalInit}}data-global-init="{{.dataGlobalInit}}"{{end}}>
|
|
<div class="ui container fluid padded flex-container">
|
|
{{template "admin/navbar" ctx.RootData}}
|
|
<div class="flex-container-main">
|
|
{{template "base/alert" ctx.RootData}}
|
|
{{/* block: admin-setting-content */}}
|
|
|
|
{{if false}}{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|