{{set.param}}
{% if set.param in ('ldap_password', 'stats_password', 'nginx_stats_password', 'apache_stats_password', 'rabbitmq_password', 'mail_smtp_password') %}
{% if set.value is none %}
{{ input(set.param, size='25', type='password') }}
{% else %}
{{ input(set.param, size='25', type='password', placeholder='******') }}
{% endif %}
{% elif set.param in ('nginx_stats_port', 'session_ttl', 'token_ttl', 'stats_port', 'haproxy_sock_port',
'ldap_port', 'log_time_storage', 'smon_check_interval', 'checker_check_interval', 'port_scan_interval',
'smon_keep_history_range', 'checker_keep_history_range', 'portscanner_keep_history_range',
'checker_maxconn_threshold', 'apache_stats_port', 'mail_smtp_port', 'rabbitmq_port') %}
{{ input(set.param, value=set.value, style='width: 210px;', type='number') }}
{% elif set.param == 'time_zone' %}
{% for zone in timezones %}
{% if set.value == zone %}
{{zone}}
{% else %}
{{zone}}
{% endif %}
{% endfor %}
{% elif set.param in ('ldap_type', 'ldap_enable', 'syslog_server_enable', 'mail_ssl') %}
{% if set.value|int() == 1 %}
{{ checkbox(set.param, checked='checked', style='margin: 0') }}
{% else %}
{{ checkbox(set.param, style='margin: 0') }}
{% endif %}
{% else %}
{% if set.value is none %}
{{ input(set.param, size='25') }}
{% else %}
{{ input(set.param, value=set.value, size='25') }}
{% endif %}
{% endif %}
{{set.desc}}
{% endif %}
{% endfor %}