restore: show encrytion field for rsync format

This commit is contained in:
Girish Ramakrishnan
2018-07-29 19:51:44 -07:00
parent e449147ed4
commit 9108b665a8

View File

@@ -135,7 +135,7 @@
<select class="form-control" id="storageFormat" ng-change="key = ''" ng-model="format" ng-options="a.value as a.name for a in formats"></select>
</div>
<div class="form-group" ng-class="{ 'has-error': error.key }" ng-show="provider !== 'noop' && format === 'tgz'">
<div class="form-group" ng-class="{ 'has-error': error.key }" ng-show="provider !== 'noop'">
<label class="control-label" for="inputConfigureBackupKey">Encryption key (optional)</label>
<input type="text" class="form-control" ng-model="key" id="inputConfigureBackupKey" name="prefix" ng-disabled="busy" placeholder="Passphrase used to encrypt the backups">
</div>