package put
import "fmt"
import "strconv"
import "github.com/tigorlazuardi/redmage/views/utils"
type ScheduleInputData struct {
Value string
Error string
Valid string
Disabled bool
}
templ ScheduleInput(data ScheduleInputData) {
if data.Valid != "" {
{ data.Valid }
} else if data.Error != "" {
{ data.Error }. TIP: Try using the dropdown for examples and common expressions.
} else if !data.Disabled {
Uses cron syntax. Tip: Start by typing 'every' to get suggestions or search custom expressions via Google like 'cron every 6 hours'.
}