diff options
Diffstat (limited to 'templates/admin/plugin_config.html')
-rw-r--r-- | templates/admin/plugin_config.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/admin/plugin_config.html b/templates/admin/plugin_config.html index 70d56f0..e722aa1 100644 --- a/templates/admin/plugin_config.html +++ b/templates/admin/plugin_config.html @@ -12,7 +12,12 @@ {% for o in options_order %} <div class="form-group"> <label for="{{ o }}">{{ o }}:</label> - <input type="text" class="form-control" name="{{ o }}" value="{{ plugin.get_config_value(o) }}"> + {% set val = plugin.get_config_value(o) %} + {% if val is string %} + <input type="text" class="form-control" name="{{ o }}" value="{{ val }}"> + {% else %} + <input type="text" class="form-control" name="{{ o }}" value="{{ val|join(', ') }}"> + {% endif %} </div> <span class="help-block">{{ plugin.get_config_desc(o) }}</span> {% endfor %} |