##// END OF EJS Templates
forms: now that AE is open source this is not required
forms: now that AE is open source this is not required

File last commit:

r0:548a840d
r38:b62abbd4
Show More
rule_read_only.html
25 lines | 976 B | text/html | HtmlLexer
project: initial commit
r0 <div class="rule-read-only">
<span class="form-group">
{{rule_ctrlr.readOnlyPossibleFields[rule_ctrlr.rule.field]}}
</span>
<span ng-if="rule_ctrlr.rule.field != '__AND__' && rule_ctrlr.rule.field !='__OR__'">
is {{rule_ctrlr.ruleDefinitions.allOps[rule_ctrlr.rule.op]}} {{rule_ctrlr.rule.value}}
</span>
<span ng-if="rule_ctrlr.rule.field == '__AND__' || rule_ctrlr.rule.field =='__OR__'">
<p ng-if="parent"><strong>Subrules</strong></p>
<div ng-repeat="subrule in rule_ctrlr.rule.rules" class="m-l-2">
<div class="panel panel-default">
<div class="panel-body form-inline">
<recursive>
<rule-read-only rule="subrule" rule-definitions="rule_ctrlr.ruleDefinitions" parent-rule="null" parent-obj="rule_ctrlr.parentObj"></rule-read-only>
</recursive>
</div>
</div>
</div>
</span>
</div>