{% extends "projects/automation_rule_list.html" %} {% load trans from i18n %} {% load crispy from crispy_forms_tags %} {% block project_edit_content_subheader %} {% if object %} {% trans "Update rule" %} {% else %} {% trans "Add rule" %} {% endif %} {% endblock project_edit_content_subheader %} {% block project_edit_content %} {% if object %} {% trans "Update rule" as button_text %} {% else %} {% trans "Add rule" as button_text %} {% endif %}
{% csrf_token %} {{ form|crispy }} {% comment %} TODO: update this code to match the new push rules. I think that all these data-bind won't be needed. {% endcomment %} {# djlint: off H021 #} {# djlint: on H021 #}
{% endblock project_edit_content %}