summaryrefslogtreecommitdiff
path: root/addons/payment_authorize/views
diff options
context:
space:
mode:
authorjpr-odoo <jpr@openerp.com>2017-11-15 16:41:54 +0530
committerfda-odoo <fda@odoo.com>2018-01-24 15:31:51 +0100
commit1f712532a3f34e5804cfa60573b54985e4f84f96 (patch)
treee455fb27ae546c4f86854158a38bd568734a971a /addons/payment_authorize/views
parentf62b31caf3011e50e357db7fa6c93612fa412de5 (diff)
[FIX] payment: fix card brand type icon position into s2s form if s2s form not in bootstrap_formatting
up the number of brand cards displayed by default too.
Diffstat (limited to 'addons/payment_authorize/views')
-rw-r--r--addons/payment_authorize/views/payment_authorize_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_authorize/views/payment_authorize_templates.xml b/addons/payment_authorize/views/payment_authorize_templates.xml
index 1e56c309317..dcc88b9df37 100644
--- a/addons/payment_authorize/views/payment_authorize_templates.xml
+++ b/addons/payment_authorize/views/payment_authorize_templates.xml
@@ -51,7 +51,7 @@
<template id="authorize_s2s_form">
<input type="hidden" name="data_set" data-create-route="/payment/authorize/s2s/create_json_3ds"/>
- <div class="mt8">
+ <div t-attf-class="mt8 #{'' if bootstrap_formatting else 'o_card_brand_detail'}">
<div t-att-class="'form-group col-md-12' if bootstrap_formatting else 'form-group'">
<input type="tel" name="cc_number" id="cc_number" class="form-control" placeholder="Card number" data-is-required="true"/>
<div class="card_placeholder"></div>