[VIEW] +welcome_email and opt_out field in bikecoop_member view
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 31 Dec 2013 07:18:04 +0000 (08:18 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 31 Dec 2013 07:18:04 +0000 (08:18 +0100)
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>