You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.2 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="assets_editor_recaptcha" name="GoogleRecaptcha"
  5. inherit_id="website.layout">
  6. <xpath expr="//main" position="inside">
  7. <script src="https://www.google.com/recaptcha/api.js"></script>
  8. </xpath>
  9. </template>
  10. <!--<record id="view_website_form" model="ir.ui.view">
  11. <field name="name">website.form</field>
  12. <field name="model">website</field>
  13. <field name="inherit_id" ref="website.view_website_form" />
  14. <field name="arch" type="xml">
  15. <div name="social_media" position="after">
  16. <div name="google_recaptcha">
  17. <separator string="Google reCAPTCHA Reloaded"/>
  18. <group name="social_media">
  19. <field name="recaptcha_site_key" placeholder="Your reCAPTCHA site key"/>
  20. <field name="recaptcha_private_key" placeholder="Your reCAPTCHA private key"/>
  21. </group>
  22. </div>
  23. </div>
  24. </field>
  25. </record>-->
  26. </data>
  27. </openerp>