Commit 4e1906fc authored by Fabien Morin's avatar Fabien Morin

- put save and edit buttons inside content bloc div. Use id (save and edit ...

- put save and edit buttons inside content bloc div. Use id (save and edit  buttons can't be present more than one time per page).
- add a span bloc (this will probably required some css modifications on themes  that use this form in web_mode).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28437 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69b78d47
......@@ -85,7 +85,6 @@
</div>\n
<div tal:attributes="class python: editable_mode and \'content editable\' or \'content\'">\n
<tal:block metal:define-slot="main" />\n
</div>\n
<div class="bottom_actions"\n
tal:condition="python: is_web_mode and editable_mode and len(actions) and form_action">\n
<input type="hidden" name="form_action" value=""\n
......@@ -94,20 +93,25 @@
tal:attributes="value python:\'%s/%s\' % (here.absolute_url(), form_id)" />\n
<input type="hidden" name="view_document_url" value=""\n
tal:attributes="value python:\'%s/%s\' % (here.absolute_url(), \'view\')" />\n
<button type="submit" class="saveView" title="Save &amp; View"\n
name="Base_editAndViewAsWeb:method"\n
<button id="input-save-view" class="formbt" type="submit"\n
title="Save &amp; View" name="Base_editAndViewAsWeb:method"\n
i18n:attributes="title" i18n:domain="ui">\n
<span>\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Save &amp; View</span>\n
</span>\n
</button>\n
<button type="submit" class="saveEdit" title="Save &amp; Edit"\n
name="Base_editAndEditAsWeb:method"\n
<button id="input-save-edit" class="formbt" type="submit"\n
title="Save &amp; Edit" name="Base_editAndEditAsWeb:method"\n
i18n:attributes="title" i18n:domain="ui">\n
<span>\n
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Save &amp; Edit</span>\n
</span>\n
</button>\n
</div>\n
</div>\n
</div>\n
</tal:block>\n
</tal:block>\n
</tal:block>\n
......
805
\ No newline at end of file
806
\ No newline at end of file
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