Documentation ¶
Overview ¶
templ: version: v0.2.793
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 PositionsContent(props *IndexPageProps) templ.Component
- func PositionsTable(props *IndexPageProps) templ.Component
- func UnitSelect(props *UnitSelectProps) templ.Component
- type CreatePageProps
- type EditPageProps
- type IndexPageProps
- type UnitSelectProps
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 PositionsContent ¶
func PositionsContent(props *IndexPageProps) templ.Component
func PositionsTable ¶
func PositionsTable(props *IndexPageProps) templ.Component
func UnitSelect ¶
func UnitSelect(props *UnitSelectProps) templ.Component
Types ¶
type CreatePageProps ¶
type CreatePageProps struct { *types.PageContext Positions []*viewmodels.Position Position *viewmodels.Position Units []*viewmodels.Unit Errors map[string]string SaveURL string }
type EditPageProps ¶
type EditPageProps struct { *types.PageContext Position *viewmodels.Position Units []*viewmodels.Unit Errors map[string]string SaveURL string DeleteURL string }
type IndexPageProps ¶
type IndexPageProps struct { *types.PageContext Positions []*viewmodels.Position PaginationState *pagination.State }
type UnitSelectProps ¶
type UnitSelectProps struct { *types.PageContext Value string Units []*viewmodels.Unit Attrs templ.Attributes }
Click to show internal directories.
Click to hide internal directories.