[VIEW] ~new organisation of bikecoop member form
[burette/bikecoop.git] / view / bikecoop.xml
index 44eeb46..d285681 100644 (file)
                         <field name="name"/>
                     </h1>
                 </div>
-                <group>
-                    <group>
-                        <label for="street" string="Postal address"/>
-                        <div>
-                            <field name="zip" placeholder="Zip code"/>
-                            <field name="city" placeholder="CITY"/>
-                            <field name="country_id" placeholder="Country"/>
-                            <field name="street" placeholder="Street ..."/>
-                            <field name="street2" placeholder="..."/>
-                            <field name="email" widget="email" placeholder="email"/>
-                            <field name="phone" placeholder="e.g. +32.81.81.37.00"/>
-                        </div>
-                    </group>
-                    <group attrs="{'invisible': [('is_company','=',True)]}">
-                        <field name="year" placeholder="1900" attrs="{'required': [('is_company','=', False)]}"/>
-                        <field name="gender_id" domain="[('domain','=', 'gender')]" placeholder="Other, Female or Male" attrs="{'required': [('is_company','=', False)]}"/>
-                        <field name="nationality_id" placeholder="France" attrs="{'required': [('is_company','=', False)]}"/>
-                        <field name="occupation_id" placeholder="Student/Employee/Other" domain="[('domain','=', 'occupation')]" attrs="{'required': [('is_company','=', False)]}"/>
-                    </group>
-                </group>
-                <notebook name="Volunteer activities">
-                    <page string="Volunteer activities" attrs="{'invisible': [('is_company','=',True)]}">
-                        <label string="Want to be volunteer in ..."/>
-                        <field name="volunteer_ids" domain="[('domain','=', 'volunteer')]" string="Want to be volunteer in ..."/>
-                        <label string="Other volunteer activities and comments"/>
-                        <field name="comment"/>
+                <notebook colspan="4">
+                    <page string="Main informations">
+                        <group>
+                            <group>
+                                <label for="street" string="Postal address"/>
+                                <div>
+                                    <field name="zip" placeholder="Zip code"/>
+                                    <field name="city" placeholder="CITY"/>
+                                    <field name="country_id" placeholder="Country"/>
+                                    <field name="street" placeholder="Street ..."/>
+                                    <field name="street2" placeholder="..."/>
+                                    <field name="email" widget="email" placeholder="email"/>
+                                    <field name="phone" placeholder="e.g. +32.81.81.37.00"/>
+                                </div>
+                            </group>
+                            <group attrs="{'invisible': [('is_company','=',True)]}">
+                                <field name="year" placeholder="1900" attrs="{'required': [('is_company','=', False)]}"/>
+                                <field name="gender_id" domain="[('domain','=', 'gender')]" placeholder="Other, Female or Male" attrs="{'required': [('is_company','=', False)]}"/>
+                                <field name="nationality_id" placeholder="France" attrs="{'required': [('is_company','=', False)]}"/>
+                                <field name="occupation_id" placeholder="Student/Employee/Other" domain="[('domain','=', 'occupation')]" attrs="{'required': [('is_company','=', False)]}"/>
+                            </group>
+                        </group>
+                        <notebook name="Volunteer activities">
+                            <page string="Volunteer activities" attrs="{'invisible': [('is_company','=',True)]}">
+                                <label string="Want to be volunteer in ..."/>
+                                <field name="volunteer_ids" domain="[('domain','=', 'volunteer')]" string="Want to be volunteer in ..."/>
+                                <label string="Other volunteer activities and comments"/>
+                                <field name="comment"/>
+                            </page>
+                        </notebook>
                     </page>
                 </notebook>
             </sheet>