[VIEW] -nationality_id and country_id id bikecoop partner form
authorLudovic CHEVALIER <ludovic@beurresarrasin.net>
Mon, 27 Jan 2020 07:33:21 +0000 (08:33 +0100)
committerLudovic CHEVALIER <ludovic@beurresarrasin.net>
Mon, 27 Jan 2020 07:33:21 +0000 (08:33 +0100)
view/members.xml

index 5a966f9..0e95304 100644 (file)
                     <attribute name="required">1</attribute>
                 </xpath>
                 <xpath expr="//field[@name='street2']" position="replace"/>
+                <xpath expr="//field[@name='country_id']" position="attributes">
+                    <attribute name="invisible">1</attribute>
+                </xpath>
                 <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">
+                <xpath expr="//field[@name='nationality_id']" position="replace"/>
+                <xpath expr="//field[@name='gender_id']" position="after">
                     <field name="comment"/>
                 </xpath>
                 <xpath expr="//field[@name='occupation_id']" position="replace"/>