Commit de753b0b authored by Sven Franck's avatar Sven Franck

data: change layout of form, add info field inside form

parent 7eb544f0
......@@ -17,10 +17,7 @@
{"field": "first_name"},
{"custom": true, "wrap": true, "type": "input", "direct": {"id": "dob", "name": "dob", "className": "translate required"}, "attributes": {"type": "text"}, "logic":{"clear": true, "title_i18n": "", "label_i18n":"portal_type_dict.sales_order_dict.text_dict.dob", "label": "Date de naissance (JJ/MM/AAAA)"}},
{"field": "default_email_text"},
{"field": "default_email_confirm"},
{"field": "delivery_method"},
{"field": "delivery_address"},
{"field": "notification_language"}
{"field": "default_email_confirm"}
]
}, {
"position": "right",
......@@ -37,6 +34,13 @@
{"field": "postcode"},
{"field": "city"}
]
}, {
"position": "left",
"field_list": [
{"field": "delivery_method"},
{"field": "delivery_address"},
{"field": "notification_language"}
]
}
],
"children": [{
......@@ -77,23 +81,9 @@
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"children": [
{
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"class_list": "center",
"direction": "horizontal"
},
"children": [
{"type": "a", "direct": {"href": "#subscription", "className": "ui-btn ui-btn-icon-left ui-icon-carat-l"}, "attributes": {"data-i18n": "portal_type_dict.sales_order_dict.text_dict.retour"}},
{"type": "input", "direct": {"className": "action translate"}, "attributes": {"type": "submit", "data-action":"update", "data-iconpos": "right", "data-theme": "active", "data-icon":"carat-r", "data-i18n":"[value]global_dict.proceed"}}
]
}
]
},{
"children": [{
"type": "div",
"direct": {"className": "ui-content-element"},
"direct": {"className": "span_2 custom_advantage ui-content-element"},
"children": [{
"type": "h3",
"direct": {"className": "translate"},
......@@ -123,6 +113,19 @@
"direct": {"href":"#", "className": "translate ui-btn ui-icon-medkit ui-corner-all ui-btn-icon-right"},
"attributes": {"data-i18n": "portal_type_dict.sales_order_dict.text_dict.help"}
}]
}, {
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"class_list": "center",
"direction": "horizontal"
},
"children": [
{"type": "a", "direct": {"href": "#subscription", "className": "translate ui-btn ui-btn-icon-left ui-icon-carat-l"}, "attributes": {"data-i18n": "portal_type_dict.sales_order_dict.text_dict.retour"}},
{"type": "input", "direct": {"className": "action translate"}, "attributes": {"type": "submit", "data-action":"update", "data-iconpos": "right", "data-theme": "active", "data-icon":"carat-r", "data-i18n":"[value]global_dict.proceed"}, "logic": {"wrapper_class_list": " ui-last-child "}}
]
}
]
}
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment