Skip to content

Commit

Permalink
Updated support to only showing memory checkbox when vm is on
Browse files Browse the repository at this point in the history
  • Loading branch information
chalettu committed Jul 12, 2018
1 parent ea0450f commit ab16a14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h4 class="modal-title" id="myModalLabel" translate>Create Snapshot</h4>
<pf-form-group pf-input-class="col-sm-8" pf-label-class="col-sm-3" pf-label="{{'Name *'|translate}}" required>
<input id="name" name="name" ng-model="vm.modalData.name" type="text" required/>
</pf-form-group>
<pf-form-group pf-input-class="col-sm-8" pf-label-class="col-sm-3" pf-label="{{'Memory'|translate}}">
<pf-form-group pf-input-class="col-sm-8" ng-show="vm.vm.power_state ==='on'" pf-label-class="col-sm-3" pf-label="{{'Memory'|translate}}">
<input id="memory" name="memory" ng-model="vm.modalData.memory" type="checkbox"/>
</pf-form-group>
<pf-form-group pf-input-class="col-sm-8" pf-label-class="col-sm-3" pf-label="{{'Description'|translate}}">
Expand Down

0 comments on commit ab16a14

Please sign in to comment.