[VIEW] +welcome_email and opt_out field in bikecoop_member view
[burette/ptitvelo.git] / view / ptitvelo.xml
index e346500..8799d46 100644 (file)
@@ -9,6 +9,12 @@
                 <xpath expr="//field[@name='email']" position="attributes">
                     <attribute name="required">1</attribute>
                 </xpath>
+                <xpath expr="//notebook[@name='Volunteer activities']" position="before">
+                    <group colspan="4">
+                        <field name="welcome_email"/>
+                        <field name="opt_out" string="I don't want to receive the newsletter (one per month approximatively)." help="Information about bikecoop, animation, association, …"/>
+                    </group>
+                </xpath>
             </field>
         </record>
     </data>