summaryrefslogtreecommitdiffstats
path: root/templates/admin/plugin_config.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/plugin_config.html')
-rw-r--r--templates/admin/plugin_config.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/plugin_config.html b/templates/admin/plugin_config.html
index d95bf75..70d56f0 100644
--- a/templates/admin/plugin_config.html
+++ b/templates/admin/plugin_config.html
@@ -12,9 +12,9 @@
{% for o in options_order %}
<div class="form-group">
<label for="{{ o }}">{{ o }}:</label>
- <input type="text" class="form-control" name="{{ o }}" value="{{ options[o][2] }}">
+ <input type="text" class="form-control" name="{{ o }}" value="{{ plugin.get_config_value(o) }}">
</div>
- <span class="help-block">{{ options[o][0] }}</span>
+ <span class="help-block">{{ plugin.get_config_desc(o) }}</span>
{% endfor %}
<button id="submit" class="btn btn-primary" name="submit" type="submit" value="Submit">