Move htmx template into layouts.

This commit is contained in:
mikestefanello 2023-12-18 20:59:40 -05:00
parent 60c8aefd49
commit 203a856895
5 changed files with 29 additions and 38 deletions

View file

@ -93,7 +93,7 @@ func TestController_RenderPage(t *testing.T) {
// Check the template cache
parsed, err := c.TemplateRenderer.Load("page", string(p.Name))
assert.NoError(t, err)
require.NoError(t, err)
// Check that all expected templates were parsed.
// This includes the name, layout and all components
@ -126,7 +126,7 @@ func TestController_RenderPage(t *testing.T) {
// Check the template cache
parsed, err := c.TemplateRenderer.Load("page:htmx", string(p.Name))
assert.NoError(t, err)
require.NoError(t, err)
// Check that all expected templates were parsed.
// This includes the name, htmx and all components