{% if rule is defined %} update rule {% else %} add rule {% endif %} {{ form.csrf_token }}
{{ form.name.label(class_="col-sm-2 control-label") }}
{{ form.name(class_="form-control") }}
{{ form.description.label(class_="col-sm-2 control-label") }}
{{ form.description(class_="form-control") }} Note: Rule names and descriptions may be treated as Template strings for some alerters. Valid placeholders may include column keys returned in query results and/or node attributes (i.e., host_identifier, enrolled_on). A missing placeholder will result in the original placeholder to appear in the resulting string intact.
{{ form.alerters.label(class_="col-sm-2 control-label") }}
{{ form.alerters(class_="form-control") }}
{{ form.conditions.label(class_="col-sm-2 control-label") }}
{{ form.conditions(id='rules-hidden') }}