camper/pkg/app
jordi fita mas d117ce5027 Add public page for campsite type, and function to edit them
Had to export and move PublicPage struct to template because i can not
import app from campsites/types: app already imports campsite for the
http handler, and it, in turn, imports the types package for its own
http handler; an import loop.

Also had to replace PublicPage.MustRender with a Setup function because
the page passed down to html/template was the PublicPage struct, not
whatever struct embeds it.  I was thinking more of Java inheritance here
rather than struct embedding.
2023-08-08 02:45:54 +02:00
..
admin.go Add public page for campsite type, and function to edit them 2023-08-08 02:45:54 +02:00
app.go Move the locales parameter inside Company struct. 2023-08-07 10:53:42 +02:00
login.go Split templates and handlers into admin and public 2023-08-05 03:42:37 +02:00
public.go Add public page for campsite type, and function to edit them 2023-08-08 02:45:54 +02:00
user.go Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00