{{ extends "base" }} {{ import "../_modules/service" }} {{ block script() }} {{ end }} {{ block body_content() }}

{{ .Service.Name }}

{{ yield form_mode() }} {{ yield form_network() }}
{{ yield form_main_right() }}
Environments {{ yield options_table(name="env", items=.Service.Environments) }}
Service Labels {{ yield options_table(name="slabel", items=.Service.ServiceLabels) }}
Container Labels {{ yield options_table(name="clabel", items=.Service.ContainerLabels) }}
{{ yield form_others() }} {{ yield form_submit(url="/service/") }}
{{ if .Stack }}
{{ i18n("service.edit.warning", .Stack) }}
{{ end }}
{{ yield dialog(name="secret", items=.Secrets) }} {{ yield dialog(name="config", items=.Configs) }} {{ end }}