package addview import "github.com/tigorlazuardi/redmage/views/utils" import "fmt" import "strconv" type ScheduleInputData struct { Value string Error string Valid string Disabled bool HXSwapOOB string } templ scheduleInputContainer() { @ScheduleInput(ScheduleInputData{}) Every hour Every day at midnight Every Sunday at midnight Every start of month Every start of year Every start of year Every Monday at midnight Every Tuesday at midnight Every Wednesday at midnight Every Thursday at midnight Every Friday at midnight Every Saturday at midnight Every Sunday at midnight for i := 1; i < 24; i++ { Every day at { strconv.Itoa(i) } o'clock } } templ ScheduleInput(data ScheduleInputData) {