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

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

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

{{ .Secret.Spec.Name }}

{*
*} {**} {*
*} {**} {*
*} {*

Editing is not supported now!

*} {*
*}
{{ yield options(name="label", items=.Secret.Spec.Labels) }}
{{ if .Secret.Spec.Templating }} {{ yield radio(name="template.name", value="", label="None", disabled=true, checked=.Secret.Spec.Templating.Name) }} {{ yield radio(name="template.name", value="golang", label="Golang", disabled=true, checked=.Secret.Spec.Templating.Name) }} {{ else }} {{ yield radio(name="template.name", value="", label="None", disabled=true, checked="") }} {{ yield radio(name="template.name", value="golang", label="Golang", disabled=true) }} {{ end }}

Template feature needs Docker API version 1.37+

{{ yield form_submit(url="/secret/") }}
{{ end }}