- <span class="dropdown select-variable-value normal" ng-class="{'need-to-set': value==''}">
- <a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
- <span ng-show="value==''"><i>selecionar variável</i></span>
- <span ng-hide="value==''">{{vars[value].name}}</span>
- </a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
- <li ng-repeat="var in vars" ng-show="var.type==type || type=='' || (type=='int' && var.type=='float') || (type=='float' && var.type=='int')"><a ng-click="setValue(var.id)">{{var.name}}</a></li>
- </ul>
- </span>
|