Make Encryption field editable

This commit is contained in:
loganhz 2019-06-06 15:48:57 +08:00
parent b58b729d7b
commit 21d51d7612
1 changed files with 16 additions and 16 deletions

View File

@ -75,8 +75,8 @@
{{#if showForm}}
<div class="box mb-10">
{{#unless enabled}}
<div class="row">
<div class="row">
{{#unless enabled}}
<div class="col span-6">
<label class="acc-label" for="input-admin-password">
{{t "globalRegistryPage.setting.adminPassword.label"}}{{field-required}}
@ -88,21 +88,21 @@
value=config.password
}}
</div>
<div class="col span-6">
<label class="acc-label" for="input-secret-key">
{{t "globalRegistryPage.config.secretKey.label"}}
</label>
{{schema/input-password
id="input-secret-key"
value=config.secretKey
question=secretKeyQuestion
}}
<p class="help-block">
{{t "globalRegistryPage.config.secretKey.description"}}
</p>
</div>
{{/unless}}
<div class="col span-6">
<label class="acc-label" for="input-secret-key">
{{t "globalRegistryPage.config.secretKey.label"}}
</label>
{{schema/input-password
id="input-secret-key"
value=config.secretKey
question=secretKeyQuestion
}}
<p class="help-block">
{{t "globalRegistryPage.config.secretKey.description"}}
</p>
</div>
{{/unless}}
</div>
<div class="over-hr">
<span>