{{if not .WorkflowDispatchConfig}}
{{/* using "ui message" in "ui form" needs to force to display */}} {{if not .CurWorkflowExists}} {{ctx.Locale.Tr "actions.workflow.not_found" $.CurWorkflow}} {{else}} {{ctx.Locale.Tr "actions.workflow.has_no_workflow_dispatch" $.CurWorkflow}} {{end}}
{{else}} {{range $item := .WorkflowDispatchConfig.Inputs}}
{{if eq .Type "choice"}} {{else if eq .Type "boolean"}} {{else if eq .Type "number"}} {{else}} {{end}}
{{end}}
{{/* use autofocus here to prevent the "branch selection" dropdown from getting focus, otherwise it will auto popup */}}
{{end}} {{range .workflows}} {{if and .ErrMsg (eq .Entry.Name $.CurWorkflow)}}
{{svg "octicon-alert" 16 "tw-text-red"}} {{.ErrMsg}}
{{end}} {{end}}