<a href crm-dialog-popup="afformGuiConditionalDialog" popup-tpl="~/afGuiEditor/afGuiConditionalDialog.html" popup-data="{editor: $ctrl.editor, node: $ctrl.node}" title="{{:: ts('Conditional Rules') }}">
  <i ng-class="{disabled: !$ctrl.node['af-if'] || !$ctrl.node['af-if'].length}" class="crm-i fa-code-fork"></i>
  <span ng-if="!$ctrl.node['af-if'].length">
    {{:: ts('Add Conditional Rules') }}
  </span>
  <strong ng-if="$ctrl.node['af-if'].length">
    {{:: ts('Edit Conditional Rules') }}
  </strong>
</a>
