blob: cc28d70638cc5944d6053d340142011b29334ead (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="TextInputPopup" owl="1">
<div role="dialog" class="modal-dialog">
<div class="popup popup-textinput">
<header class="title">
<t t-esc="props.title" />
</header>
<div class="div">
<p>
<t t-esc="props.body" />
</p>
<input type="text" t-model="state.inputValue" t-ref="input" />
</div>
<div class="footer">
<div class="button confirm" t-on-click="confirm">
<t t-esc="props.confirmText" />
</div>
<div class="button cancel" t-on-click="cancel">
<t t-esc="props.cancelText" />
</div>
</div>
</div>
</div>
</t>
</templates>
|