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.

22 lines
737 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016-2017 Jairo Llopis <jairo.llopis@tecnativa.com>
  3. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
  4. <odoo>
  5. <template id="s_newsletter_subscribe_form"
  6. inherit_id="website_mass_mailing.s_newsletter_subscribe_form">
  7. <xpath expr="//input[hasclass('js_subscribe_email')]"
  8. position="before">
  9. <input
  10. name="name"
  11. class="js_subscribe_name form-control"
  12. required="required"
  13. placeholder="your name..."/>
  14. </xpath>
  15. <xpath expr="//input[hasclass('js_subscribe_email')]" position="attributes">
  16. <attribute name="required">required</attribute>
  17. </xpath>
  18. </template>
  19. </odoo>