{% macro render_field(field) %}
{{ field.label }}
{{ field(**kwargs)|safe }} {% if field.errors %} {% endif %}
{% endmacro %} {% macro render_checkbox_field(field) %}
{{ field(**kwargs)|safe }} {{ field.label }} {% if field.errors %} {% endif %}
{% endmacro %} {% macro render_simple_field(field) %} {{ field.label }} {{ field(**kwargs)|safe }} {% if field.errors %} {% endif %} {% endmacro %} {% macro render_nolabel_field(field) %} {{ field(**kwargs)|safe }} {% if field.errors %} {% if field.errors %} {% endif %} {% endif %} {% endmacro %} {% macro render_button(field) %} {{ field(**kwargs)|safe }} {% endmacro %} {% macro render_fieldlist_of_formfields_as_table(fieldlist, table_id="rulesTable") %} {% for subfield in fieldlist[0] %} {% endfor %} {% for form_row in fieldlist %} {% for subfield in form_row %} {% endfor %} {% endfor %}
{{ subfield.label }}Actions
{{ subfield()|safe }} {% if subfield.errors %}
    {% for error in subfield.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% endmacro %} {% macro playwright_warning() %}

Error - Playwright support for Chrome based fetching is not enabled. Alternatively try our very affordable subscription based service which has all this setup for you.

You may need to Enable playwright environment variable and uncomment the sockpuppetbrowser in the docker-compose.yml file.


(Also Selenium/WebDriver can not extract full page screenshots reliably so Playwright is recommended here)

{% endmacro %} {% macro only_webdriver_type_watches_warning() %}

Sorry, this functionality only works with Playwright/Chrome enabled watches.
You need to Set the fetch method to Playwright/Chrome mode and resave and have the Playwright connection enabled.


{% endmacro %} {% macro render_time_schedule_form(form, available_timezones, timezone_default_config) %}
{% if timezone_default_config %}
{{ render_checkbox_field(form.time_schedule_limit.enabled) }}
Set a hourly/week day schedule

Business hours Weekends Reset


More help and examples about using the scheduler
{% else %} Want to use a time schedule? First confirm/save your Time Zone Settings
{% endif %} {% endmacro %}