[VIEW] +country_id in member form: workaround bug
[burette/cyclofficine_ivry.git] / view / members.xml
index 59d1c5e..5a966f9 100644 (file)
@@ -8,9 +8,19 @@
                 <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='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="after">
+                    <field name="comment"/>
+                </xpath>
                 <xpath expr="//field[@name='occupation_id']" position="replace"/>
                 <xpath expr="//notebook[@name='Volunteer activities']" position="replace"/>
             </field>