{{ extends "../_layouts/default" }} {{ import "../_modules/form" }} {{ block script() }} {{ end }} {{ block body() }}

{{ i18n("node.title") }}

{{ i18n("node.description") }}

{{ .Node.Spec.Name ? .Node.Spec.Name : (.Node.Description.Hostname ? .Node.Description.Hostname : .Node.ID) }}

{{ yield radio(name="role", value="worker", label="Worker", checked=.Node.Spec.Role) }} {{ yield radio(name="role", value="manager", label="Manager", checked=.Node.Spec.Role) }}
{{ yield radio(name="availability", value="active", label="Active", checked=.Node.Spec.Availability) }} {{ yield radio(name="availability", value="pause", label="Pause", checked=.Node.Spec.Availability) }} {{ yield radio(name="availability", value="drain", label="Drain", checked=.Node.Spec.Availability) }}
Labels {{ yield options(name="label", items=.Node.Spec.Labels) }}
{{ yield form_submit(url="/node/") }}
{{ end }}