summaryrefslogtreecommitdiff
path: root/addons/website
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-01-03 12:54:10 +0000
committerRomain Derie <rde@odoo.com>2019-01-07 10:00:04 +0000
commit4c8eeb7f585cd471071dce0d47aa486bc6f668eb (patch)
tree651a372bb7dba214df489b908ee01d9a9c8cde10 /addons/website
parentc37a79925b31cc0582551a0295a54dc29257a9cd (diff)
[FIX] website_*: set correct order on modal footer button
Modal primary button should be the one in the corner (left if buttons aligned left, right if buttons aligned right) as in the Bootstrap doc. More than a simple guideline, the user will intuitively click on the button in the corner as it is supposed to be the primary one. Plus some DOM fixes (o_technical_modal was missing, H2 was too big especially since BS4) Closes #29890 task-1922120
Diffstat (limited to 'addons/website')
-rw-r--r--addons/website/views/website_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml
index 2228d742c46..addf6b58344 100644
--- a/addons/website/views/website_templates.xml
+++ b/addons/website/views/website_templates.xml
@@ -991,8 +991,8 @@
</div>
</main>
<footer class="modal-footer">
- <input type="submit" value="Confirm" class="btn btn-primary"/>
<button type="button" class="btn" data-dismiss="modal" aria-label="Cancel">Cancel</button>
+ <input type="submit" value="Confirm" class="btn btn-primary"/>
</footer>
</div>
</form>