{%if plugins%}
{% for plugin in plugins %}
{{plugin.screenName}}
{% for config in plugin.e.getConfigsFor(element) %} {% if plugin['config_meta'][config.name]['on_live_change'] %} {% set onChange = "pluginAjaxCall(this, '"~plugin.type~"', '"~plugin.instance~"', '"~plugin.name.replace(' ', '_').replace('(', '').replace(')', '')~"_content', '"~plugin['config_meta'][config.name]['on_live_change'].__name__~"')" %} {%endif%}
{% if 'select' in config.name %} {% else %} {% if config.curType() == 'int' and 'enable' not in config.name -%} {% set inputType = 'number" step="any'%} {% elif config.curType() == 'bool' or 'enable' in config.name%} {% if config.value %} {# this is a little dodgy. we append the checked attr with manipulating the string that is set for the input type#} {% set inputType = 'checkbox" checked="checked'%} {% else %} {% set inputType = 'checkbox'%} {% endif %} {% elif 'password' in config.name %} {% set inputType = 'password'%} {% else %} {% set inputType = 'text'%} {%- endif %} {% endif %}
{% endfor %}
{% endfor %}
{%else%}

Nothing to configure

{%endif%}