changeset 65:dd15b6c0b1d3

input/xmlui: added 'jid' widget type, using string_widget for now
author Goffi <goffi@goffi.org>
date Wed, 15 Nov 2017 08:52:14 +0100
parents 767509e8c272
children 9834106678da
files default/input/xmlui.html
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/default/input/xmlui.html	Sat Nov 11 18:41:13 2017 +0100
+++ b/default/input/xmlui.html	Wed Nov 15 08:52:14 2017 +0100
@@ -19,6 +19,9 @@
         {{ label_widget(wid, config) }}
     {% elif wid.type == 'string' %}
         {{ string_widget(wid, config, id=id) }}
+    {% elif wid.type == 'jid' %}
+        {# TODO: proper JID widget #}
+        {{ string_widget(wid, config, id=id) }}
     {% elif wid.type == 'textbox' %}
         {{ textbox_widget(wid, config, id=id) }}
     {% elif wid.type == 'list' %}