{% import 'languages/'+lang|default('en')+'.html' as lang %} {% from 'include/input_macros.html' import input, checkbox %} {% for s in smon %} {% for s_service in smon_service %} {% if check_type == 'tcp' %} {% include 'include/smon_tcp_server.html' %} {% elif check_type == 'ping' %} {% include 'include/smon_ping_server.html' %} {% elif check_type == 'http' %} {% include 'include/smon_http_server.html' %} {% endif %} {% endfor %} {% endfor %}