dépôts
/
burette
/
cyclofficine_ivry.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0da3b7d
)
[VIEW] -nationality_id and country_id id bikecoop partner form
author
Ludovic CHEVALIER
<ludovic@beurresarrasin.net>
Mon, 27 Jan 2020 07:33:21 +0000
(08:33 +0100)
committer
Ludovic CHEVALIER
<ludovic@beurresarrasin.net>
Mon, 27 Jan 2020 07:33:21 +0000
(08:33 +0100)
view/members.xml
patch
|
blob
|
history
diff --git
a/view/members.xml
b/view/members.xml
index
5a966f9
..
0e95304
100644
(file)
--- a/
view/members.xml
+++ b/
view/members.xml
@@
-12,13
+12,14
@@
<attribute name="required">1</attribute>
</xpath>
<xpath expr="//field[@name='street2']" position="replace"/>
<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='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"/>
<field name="comment"/>
</xpath>
<xpath expr="//field[@name='occupation_id']" position="replace"/>