summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-05-28 17:39:32 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:36:54 +0200
commita6a3e74ebfd79297f99787d01af984b4f8329980 (patch)
tree261552a44159c0a0468d59d74fda3390cde45ef8 /addons/web/static/src/xml/base.xml
parentee65b44d9e51f380e1b6978485e466b5720df215 (diff)
[REF] web, *: BS4, adapt radio button structure
Use BS4 *custom* structure for radio buttons to allow customizing their style and have cross-browser style.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 78b9d1480b5..ab87df0b6ed 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -801,10 +801,10 @@
t-att-id="widget.idForLabel"/>
</t>
<t t-name="FieldRadio.button">
- <div class="o_radio_item" aria-atomic="true">
- <input type="radio" class="o_radio_input" t-att-checked="checked ? true : undefined"
+ <div class="custom-control custom-radio o_radio_item" aria-atomic="true">
+ <input type="radio" class="custom-control-input o_radio_input" t-att-checked="checked ? true : undefined"
t-att-data-value="value[0]" t-att-data-index="index" t-att-id="id"/>
- <label class="o_form_label" t-att-for="id"><t t-esc="value[1]"/></label>
+ <label class="custom-control-label o_form_label" t-att-for="id"><t t-esc="value[1]"/></label>
</div>
</t>