diff options
| author | Jigar Patel <jat@openerp.com> | 2019-04-19 07:16:59 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-04-19 10:39:16 +0000 |
| commit | 6404233bb090c808a9bb211d85cdcdab1d0d2092 (patch) | |
| tree | 30518fb0aeca08e6eb040cbf68d49ccbd5529e38 /addons/website_form/static/src/xml | |
| parent | e834de3d1070654968be8ebc22175aae6e1cdc68 (diff) | |
[IMP] wesbite_form: add mechanism to allow default atttibutes to form
That way, it is possible to add the template, fields and success page to
different type of form.
Next commits will use what has been done in this commit.
task-32212
Diffstat (limited to 'addons/website_form/static/src/xml')
| -rw-r--r-- | addons/website_form/static/src/xml/website_form_editor.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_form/static/src/xml/website_form_editor.xml b/addons/website_form/static/src/xml/website_form_editor.xml index 0165bd6ee99..121201ea437 100644 --- a/addons/website_form/static/src/xml/website_form_editor.xml +++ b/addons/website_form/static/src/xml/website_form_editor.xml @@ -29,12 +29,12 @@ <!-- Generic Field Layout --> <t t-name="website_form.field"> <div t-att-class="'row form-group form-field' + (field.custom ? ' o_website_form_custom' : '') + (field.required ? ' o_website_form_required' : '')"> - <div class="col-md-4 text-md-right"> + <div class="col-lg-3 col-md-4"> <label class="col-form-label" t-att-for="field.name"> <t t-esc="field.string"/> </label> </div> - <div class="col-md-8"> + <div class="col-lg-7 col-md-8"> <t t-raw="0"/> </div> </div> |
