 
   formData.flowField = Flow.getFieldSelection($scope.flowFields, $scope.ruleset.operand, true)
   formData.contactField = Flow.getFieldSelection($scope.contactFields, $scope.ruleset.operand, false)
+
+  formData.isAdditionalOptionsVisible = false
+
+  $scope.showAdditionalOptions = () ->
+    if formData.isAdditionalOptionsVisible
+      formData.isAdditionalOptionsVisible = false
+    else
+      formData.isAdditionalOptionsVisible = true
 
   config = $scope.ruleset.config
   if not config

      $scope.action.type = 'flow'

    flow = flow[0]
    $scope.action.flow = 
      uuid: flow.id
      name: flow.text


TranslateRulesController = ($scope, $modalInstance, Flow, utils, languages, ruleset, translation) ->

  $scope.translation = translation

  # clone our ruleset
  ruleset = utils.clone(ruleset)

