camper/pkg
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
..
app Add public page for campsite type, and function to edit them 2023-08-08 02:45:54 +02:00
auth Move the locales parameter inside Company struct. 2023-08-07 10:53:42 +02:00
campsite Add public page for campsite type, and function to edit them 2023-08-08 02:45:54 +02:00
database Add the company’s slug in the URL before company-dependent handlers 2023-07-31 18:51:50 +02:00
form Allow users to update their profile images 2023-07-28 20:15:09 +02:00
http Add the language switched to the public layout 2023-08-06 05:53:52 +02:00
locale Add the language switched to the public layout 2023-08-06 05:53:52 +02:00
template Add public page for campsite type, and function to edit them 2023-08-08 02:45:54 +02:00
uuid Add the company’s slug in the URL before company-dependent handlers 2023-07-31 18:51:50 +02:00