modal templ
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package models
|
||||
|
||||
import "github.com/a-h/templ"
|
||||
|
||||
type MDNonlabTemplate struct {
|
||||
NonlabTemplateID int `db:"NonlabTemplateID"`
|
||||
NonlabTemplateName string `db:"NonlabTemplateName"`
|
||||
@@ -12,3 +14,19 @@ type MDNonlabTemplate struct {
|
||||
NonlabTemplateDelete string `db:"NonlabTemplateDelete"`
|
||||
NonlabTemplateDeleteUserID string `db:"NonlabTemplateDeleteUserID"`
|
||||
}
|
||||
|
||||
type MDNonlabTemplateForm struct {
|
||||
IDComponent string
|
||||
Link string
|
||||
HxTarget string
|
||||
HxSwap string
|
||||
HxInclude string
|
||||
ModalID string
|
||||
ModalTitle string
|
||||
InputID CustomTextFieldv2Prm
|
||||
InputName CustomTextFieldv2Prm
|
||||
InputFlag CustomCheckboxv1Prm
|
||||
DialogBody templ.Component
|
||||
DialogAction templ.Component
|
||||
ButtonClose templ.Component
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user