Documentation
¶
Overview ¶
templ: version: v0.2.793
templ: version: v0.2.793
templ: version: v0.2.793
Index ¶
- func CreateForm(props *CreatePageProps) templ.Component
- func Edit(props *EditPageProps) templ.Component
- func EditForm(props *EditPageProps) templ.Component
- func Index(props *IndexPageProps) templ.Component
- func New(props *CreatePageProps) templ.Component
- func UnitsContent(props *IndexPageProps) templ.Component
- func UnitsTable(props *IndexPageProps) templ.Component
- type CreatePageProps
- type EditPageProps
- type IndexPageProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateForm ¶
func CreateForm(props *CreatePageProps) templ.Component
func Edit ¶
func Edit(props *EditPageProps) templ.Component
func EditForm ¶
func EditForm(props *EditPageProps) templ.Component
func Index ¶
func Index(props *IndexPageProps) templ.Component
func New ¶
func New(props *CreatePageProps) templ.Component
func UnitsContent ¶
func UnitsContent(props *IndexPageProps) templ.Component
func UnitsTable ¶
func UnitsTable(props *IndexPageProps) templ.Component
Types ¶
type CreatePageProps ¶
type CreatePageProps struct { *types.PageContext Unit *viewmodels.Unit Errors map[string]string SaveURL string }
type EditPageProps ¶
type EditPageProps struct { *types.PageContext Unit *viewmodels.Unit Errors map[string]string DeleteURL string }
type IndexPageProps ¶
type IndexPageProps struct { *types.PageContext Units []*viewmodels.Unit PaginationState *pagination.State }
Click to show internal directories.
Click to hide internal directories.