{% extends "base.html" %} {% block title %}{{ t('新建环境') if mode == 'create' else t('编辑环境') }} · {{ product_name }}{% endblock %} {% block container_class %} container--form{% endblock %} {% block content %} {% if errors.get('_form') %} {% endif %}
{% if errors.get('title') %}{% endif %}
{% if mode == 'create' %} {% else %} {{ t('调用标识') }}
{{ values.key }}
{% endif %} {% if errors.get('key') %}{% endif %}

{% if mode == 'edit' and values.key == 'default' %}{{ t('调用标识是 default,不能改。要分开多套环境,请新建一个。') }}{% elif mode == 'edit' %}{{ t('创建后不能修改,排查时要传这个值。') }}{% else %}{{ t('小写字母、数字和连字符。创建后不能修改,排查时要传这个值。') }}{% endif %}

{{ t('停用后不能查询这个环境,目标配置仍保留。') }}

{{ t('取消') }}
{% endblock %}