comparison default/input/xmlui.html @ 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 4347910cc594
children 9834106678da
comparison
equal deleted inserted replaced
64:767509e8c272 65:dd15b6c0b1d3
16 {% if wid.type == 'text' %} 16 {% if wid.type == 'text' %}
17 {{ text_widget(wid, config, id=id) }} 17 {{ text_widget(wid, config, id=id) }}
18 {% elif wid.type == 'label' %} 18 {% elif wid.type == 'label' %}
19 {{ label_widget(wid, config) }} 19 {{ label_widget(wid, config) }}
20 {% elif wid.type == 'string' %} 20 {% elif wid.type == 'string' %}
21 {{ string_widget(wid, config, id=id) }}
22 {% elif wid.type == 'jid' %}
23 {# TODO: proper JID widget #}
21 {{ string_widget(wid, config, id=id) }} 24 {{ string_widget(wid, config, id=id) }}
22 {% elif wid.type == 'textbox' %} 25 {% elif wid.type == 'textbox' %}
23 {{ textbox_widget(wid, config, id=id) }} 26 {{ textbox_widget(wid, config, id=id) }}
24 {% elif wid.type == 'list' %} 27 {% elif wid.type == 'list' %}
25 {{ list_widget(wid, config, id=id) }} 28 {{ list_widget(wid, config, id=id) }}