addons/html_editor/static/src/others/qweb_picker.xml
raw| 1 | <templates xml:space="preserve"> |
| 2 | <t t-name="html_editor.QWebPicker"> |
| 3 | <div class="o-we-qweb-picker bg-white my-1"> |
| 4 | <t t-foreach="state.groups" t-as="group" t-key="group_index"> |
| 5 | <select class="form-select" t-on-change="onChange"> |
| 6 | <t t-foreach="group" t-as="element" t-key="element_index"> |
| 7 | <option t-attf-value="{{group_index}},{{element_index}}" t-att-selected="element.isActive"> |
| 8 | <t t-esc="element.label"/> |
| 9 | </option> |
| 10 | </t> |
| 11 | </select> |
| 12 | </t> |
| 13 | </div> |
| 14 | </t> |
| 15 | </templates> |