summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-08-29 17:50:45 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-09-24 20:29:35 +0200
commitef4fcd195bbf4d69bac142b7767aff344588842c (patch)
tree026404ff5c3d98387f01b7bda1f2cc175433571c /templates
parent7483cfa79415a18f73c29cb7a19e3f91e7945334 (diff)
downloadipsilon-ef4fcd195bbf4d69bac142b7767aff344588842c.tar.gz
ipsilon-ef4fcd195bbf4d69bac142b7767aff344588842c.tar.xz
ipsilon-ef4fcd195bbf4d69bac142b7767aff344588842c.zip
Allow plugins to determine config options order
Ordering may also be partial, for any option not specified they will be appended in lexycographic order. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/plugin_config.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/plugin_config.html b/templates/admin/plugin_config.html
index 7c143af..1f75182 100644
--- a/templates/admin/plugin_config.html
+++ b/templates/admin/plugin_config.html
@@ -9,7 +9,7 @@
<div id="options">
<form role="form" id="{{ name }}" action="{{ action }}" method="post" enctype="application/x-www-form-urlencoded">
- {% for o in options %}
+ {% 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] }}">