diff options
| author | Raphael Collet <rco@openerp.com> | 2012-09-04 16:50:17 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-09-04 16:50:17 +0200 |
| commit | d6dc264ea28dff087c75c67ff36e2b82aa1a2b70 (patch) | |
| tree | 0264cf650af677409ded08fb70b47bca5e362804 /addons/web/static/src/xml/base.xml | |
| parent | bf20cd701840bd8e08ca05207566c4ddcbad6ced (diff) | |
[IMP] web, web_diagram: improve code formatting
bzr revid: rco@openerp.com-20120904145017-qw6n8clak9byw1w3
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 789fbcb4baa..2e2935a7bc6 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -725,14 +725,12 @@ <div t-name="FormView.buttons" class="oe_form_buttons"> <t t-if="widget.options.action_buttons !== false"> <span class="oe_form_buttons_view"> - <t t-if="widget.is_action_enabled('edit')"> - <div style="display: inline-block;"> <!-- required for the bounce effect on button --> - <button type="button" class="oe_button oe_form_button_edit" accesskey="E">Edit</button> - </div> - </t> - <t t-if="widget.is_action_enabled('create')"> - <button type="button" class="oe_button oe_form_button_create" accesskey="C">Create</button> - </t> + <!-- required for the bounce effect on button --> + <div t-if="widget.is_action_enabled('edit')" style="display: inline-block;"> + <button type="button" class="oe_button oe_form_button_edit" accesskey="E">Edit</button> + </div> + <button t-if="widget.is_action_enabled('create')" + type="button" class="oe_button oe_form_button_create" accesskey="C">Create</button> </span> <span class="oe_form_buttons_edit"> <button type="button" class="oe_button oe_form_button_save oe_highlight" accesskey="S">Save</button> |
