diff --git a/views/devices/filter.templ b/views/devices/filter.templ index e9feeee..6f71092 100644 --- a/views/devices/filter.templ +++ b/views/devices/filter.templ @@ -1,5 +1,7 @@ package devices +import "github.com/tigorlazuardi/redmage/api" + templ filter(data Data) {
- -
- - - - -
+ @searchInput(data.Params) + @statusInput(data.Params) + @limitInput(data.Params)
} + +templ searchInput(params api.DevicesListParams) { + + +} + +templ statusInput(params api.DevicesListParams) { + + +} + +templ limitInput(params api.DevicesListParams) { + + +}