1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

refactor(templates): use the set field instead of default (#164)

This commit is contained in:
Anthony Lapenna 2016-08-24 19:46:31 +12:00 committed by GitHub
parent 7c5c693f17
commit 3c75c5fe25
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@
</div>
</div>
<!-- !name-and-network-inputs -->
<div ng-repeat="var in selectedTemplate.env" ng-if="!var.default" class="form-group">
<div ng-repeat="var in selectedTemplate.env" ng-if="!var.set" class="form-group">
<label for="field_{{ $index }}" class="col-sm-2 control-label text-left">{{ var.label }}</label>
<div class="col-sm-10">
<select ng-if="!swarm && var.type === 'container'" ng-options="container|containername for container in runningContainers" class="selectpicker form-control" ng-model="var.value">