templates base

This commit is contained in:
JACS 2026-05-03 00:49:28 -05:00
parent 1f95f86829
commit 137b9f9a6a
8 changed files with 253 additions and 3 deletions

View file

@ -476,11 +476,16 @@ type FormtablerFormElementsPage struct {
// FormtablerComponentsPage is the page-specific struct for the combined demo
// showing alerts, toasts, and breadcrumbs.
type FormtablerComponentsPage struct {
Alerts []FormtablerAlert
Alerts []FormtablerAlert
Breadcrumbs []FormtablerBreadcrumb
Toasts []FormtablerToast
}
// AuthLockPageData holds the data for the account lock page.
type AuthLockPageData struct {
PersonName string
}
// TablerPageData holds the common data for all tabler pages.
// It should NOT contain component-specific fields like tables or forms.
// Add those by creating a page-specific struct that embeds TablerPageData