{# Shared type-specific monitor form fields. Every field is rendered; a tiny script (mtoggle) shows only the ones relevant to the selected type. #} {% macro type_fields(config={}) %} {# tcp #}
{# dns #}
{# http #}
{% endmacro %} {# Show only the fields whose data-types matches the active monitor type. #} {% macro toggle_script() %} {% endmacro %}