{% extends "./layout/default" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, ruleGroup) }} {% endblock %} {% block content %}

{{ 'mandatoryFields'|_ }}

{{ ExpandedForm.text('title') }} {{ ExpandedForm.select('trigger',allJournalTriggers()) }} {{ ExpandedForm.checkbox('stop_processing',1,null, {helpText: trans('firefly.rule_help_stop_processing')}) }}

{{ 'optionalFields'|_ }}

{{ ExpandedForm.textarea('description') }}

{{ 'rule_triggers'|_ }}

{% for trigger in oldTriggers %} {{ trigger|raw }} {% endfor %}
{{ 'trigger'|_ }} {{ 'trigger_value'|_ }} {{ 'stop_processing_other_triggers'|_ }}


{{ 'test_rule_triggers'|_ }}

{% include '/rules/partials/test-trigger-modal' %}

{{ 'rule_actions'|_ }}

{% for action in oldActions %} {{ action|raw }} {% endfor %}
{{ 'action'|_ }} {{ 'action_value'|_ }} {{ 'stop_executing_other_actions'|_ }}


{{ 'add_rule_action'|_ }}

{{ 'options'|_ }}

{{ ExpandedForm.optionsList('create','rule') }}
{% endblock %} {% block scripts %} {% endblock %} {% block styles %} {% endblock %}