1 <div ng-controller="YMLeafCtrl as yangLeaf"
3 layout-align="start {{yangLeaf.getLeafCentering()}}"
4 class="yangmanModule__right-panel__form__leaf-container {{yangLeaf.getLeafType()}}">
6 <!-- Container label -->
7 <p class="top-element" ym-info-box node="node"> {{yangForm.getNodeName(node.localeLabel, node.label)}} </p>
10 <yang-form-menu is-action-menu="yangLeaf.isActionMenu()"
11 augmentations="augmentations"
12 node="node"></yang-form-menu>
14 <!-- Empty placeholder for better look -->
15 <div class="menu-placeholder" ng-if="!yangLeaf.isActionMenu() && !yangLeaf.isNodeInfo()"></div>
17 <div ng-controller="YMTypeCtrl as yangType"
18 ng-repeat="type in node.getChildren('type')"
19 ng-include="yangForm.viewPath + '/config/types/' + yangLeaf.getLeafType() + '.tpl.html'"
20 {{yangLeaf.getLeafType() === 'union' ? 'flex="grow"' : ''}}