diff --git a/web/templates/admin/campsite/form.gohtml b/web/templates/admin/campsite/form.gohtml index df92e7d..f3c768a 100644 --- a/web/templates/admin/campsite/form.gohtml +++ b/web/templates/admin/campsite/form.gohtml @@ -13,7 +13,6 @@ {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/campsite.campsiteForm*/ -}} - {{ template "settings-tabs" "campsites" }}
{{( pgettext "Add Campsite" "action" )}}

{{( pgettext "Campsites" "title" )}}

{{ template "campground_map.svg" }} diff --git a/web/templates/admin/campsite/type/form.gohtml b/web/templates/admin/campsite/type/form.gohtml index 43a5d5e..f17143c 100644 --- a/web/templates/admin/campsite/type/form.gohtml +++ b/web/templates/admin/campsite/type/form.gohtml @@ -13,7 +13,6 @@ {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/campsite/types.typeForm*/ -}} - {{ template "settings-tabs" "campsiteTypes" }} {{( pgettext "Add Type" "action" )}}

{{( pgettext "Campsite Types" "title" )}}

{{ if .Types -}} diff --git a/web/templates/admin/campsite/type/l10n.gohtml b/web/templates/admin/campsite/type/l10n.gohtml index a77178c..13f5d11 100644 --- a/web/templates/admin/campsite/type/l10n.gohtml +++ b/web/templates/admin/campsite/type/l10n.gohtml @@ -9,7 +9,6 @@ {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/campsite/types.typeL10nForm*/ -}} - {{ template "settings-tabs" "campsiteTypes" }}

{{printf (pgettext "Translate Campsite Type to %s" "title") .Locale.Endonym }} diff --git a/web/templates/admin/carousel/form.gohtml b/web/templates/admin/carousel/form.gohtml index 96130d7..e31a0b9 100644 --- a/web/templates/admin/carousel/form.gohtml +++ b/web/templates/admin/carousel/form.gohtml @@ -13,7 +13,6 @@ {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/carousel.slideForm*/ -}} - {{ template "settings-tabs" .CarouselName }}

{{printf (pgettext "Translate Carousel Slide to %s" "title") .Locale.Endonym }} diff --git a/web/templates/admin/home/index.gohtml b/web/templates/admin/home/index.gohtml index 6ea7c58..b2872cf 100644 --- a/web/templates/admin/home/index.gohtml +++ b/web/templates/admin/home/index.gohtml @@ -8,7 +8,6 @@ {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/home.homeIndex*/ -}} - {{ template "settings-tabs" "home" }}

{{( pgettext "Carousel" "title" )}}

{{( pgettext "Add slide" "action" )}} {{ if .Slides -}} diff --git a/web/templates/admin/htmx.gohtml b/web/templates/admin/htmx.gohtml index 9b0205d..a632f57 100644 --- a/web/templates/admin/htmx.gohtml +++ b/web/templates/admin/htmx.gohtml @@ -4,4 +4,3 @@ --> {{ template "title" . }} — Camper {{ template "content" . }} -{{ define "settings-tabs" }}{{ end }} diff --git a/web/templates/admin/layout.gohtml b/web/templates/admin/layout.gohtml index 7d6fffb..02401d4 100644 --- a/web/templates/admin/layout.gohtml +++ b/web/templates/admin/layout.gohtml @@ -32,6 +32,24 @@
  • {{( pgettext "Company Settings" "title" )}}
  • +
  • + {{( pgettext "Campsite Types" "title" )}} +
  • +
  • + {{( pgettext "Campsites" "title" )}} +
  • +
  • + {{( pgettext "Seasons" "title" )}} +
  • +
  • + {{( pgettext "Media" "title" )}} +
  • +
  • + {{( pgettext "Home Page" "title" )}} +
  • +
  • + {{( pgettext "Services Page" "title" )}} +
  • {{- end }}