summaryrefslogtreecommitdiff
path: root/addons/website_event/views
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_event/views
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_event/views')
-rw-r--r--addons/website_event/views/event_templates.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/addons/website_event/views/event_templates.xml b/addons/website_event/views/event_templates.xml
index fc70e2ee4b0..0d8d28bc4be 100644
--- a/addons/website_event/views/event_templates.xml
+++ b/addons/website_event/views/event_templates.xml
@@ -546,10 +546,8 @@
</div>
</main>
<footer class="modal-footer">
- <div class="float-left">
- <button type="submit" class="btn btn-primary">Continue</button>
- <button type="button" class="btn btn-secondary js_goto_event" data-dismiss="modal">Cancel Registration</button>
- </div>
+ <button type="button" class="btn btn-secondary js_goto_event" data-dismiss="modal">Cancel</button>
+ <button type="submit" class="btn btn-primary">Continue Registration</button>
</footer>
</div>
</form>