[VIEW] +customize members form
authorLudovic CHEVALIER <ludovic@beurresarrasin.net>
Wed, 15 Jan 2020 21:10:01 +0000 (22:10 +0100)
committerLudovic CHEVALIER <ludovic@beurresarrasin.net>
Wed, 15 Jan 2020 21:10:01 +0000 (22:10 +0100)
view/members.xml

index 59d1c5e..c1bd330 100644 (file)
@@ -8,9 +8,20 @@
                 <xpath expr="//field[@name='zip']" position="attributes">
                     <attribute name="required">1</attribute>
                 </xpath>
                 <xpath expr="//field[@name='zip']" position="attributes">
                     <attribute name="required">1</attribute>
                 </xpath>
+                <xpath expr="//field[@name='street']" position="attributes">
+                    <attribute name="required">1</attribute>
+                </xpath>
+                <xpath expr="//field[@name='street2']" position="replace"/>
+                <xpath expr="//field[@name='country_id']" position="replace"/>
+                <xpath expr="//field[@name='email']" position="attributes">
+                    <attribute name="required">1</attribute>
+                </xpath>
                 <xpath expr="//field[@name='nationality_id']" position="replace">
                     <field name="nationality_id" placeholder="France" attrs="{'required': 0}"/>
                 </xpath>
                 <xpath expr="//field[@name='nationality_id']" position="replace">
                     <field name="nationality_id" placeholder="France" attrs="{'required': 0}"/>
                 </xpath>
+                <xpath expr="//field[@name='nationality_id']" position="after">
+                    <field name="comment"/>
+                </xpath>
                 <xpath expr="//field[@name='occupation_id']" position="replace"/>
                 <xpath expr="//notebook[@name='Volunteer activities']" position="replace"/>
             </field>
                 <xpath expr="//field[@name='occupation_id']" position="replace"/>
                 <xpath expr="//notebook[@name='Volunteer activities']" position="replace"/>
             </field>