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:
44d56ba
)
[VIEW] +customize members form
author
Ludovic CHEVALIER
<ludovic@beurresarrasin.net>
Wed, 15 Jan 2020 21:10:01 +0000
(22:10 +0100)
committer
Ludovic CHEVALIER
<ludovic@beurresarrasin.net>
Wed, 15 Jan 2020 21:10:01 +0000
(22:10 +0100)
view/members.xml
patch
|
blob
|
history
diff --git
a/view/members.xml
b/view/members.xml
index
59d1c5e
..
c1bd330
100644
(file)
--- a/
view/members.xml
+++ b/
view/members.xml
@@
-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>