Commit cf6e6b2e authored by Fabien Morin's avatar Fabien Morin

add a message in case of errors on fields to be able to understand that there...

add a message in case of errors on fields to be able to understand that there is a pb even if the problem appears on the bottom of a big page.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22110 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ebbf7e79
......@@ -979,6 +979,17 @@ fieldset.bottom .field .input {\n
font-weight: bold;\n
}\n
\n
#information_area {\n
margin-top: 1em;\n
padding:0.5em 1em 0.5em 1em;\n
border-width: 1px;\n
border-style: solid;\n
border-color: <dtml-var dialog_border_color>;\n
color: orange;\n
background-color: <dtml-var document_background_color>;\n
font-weight: bold;\n
}\n
\n
/* Content */\n
\n
.dialog_box {\n
......
......@@ -141,6 +141,10 @@ IDEAS:\n
</div>\n
<p class="clear"></p>\n
<div tal:content="request/portal_status_message | nothing" id="transition_message" />\n
<div id="information_area" tal:condition="python: request.has_key(\'field_errors\')" \n
i18n:translate="" i18n:domain="ui">\n
Input data has errors. Please look at error messages below.\n
</div>\n
</div>\n
<div id="master">\n
<tal:block metal:define-slot="main" />\n
......
567
\ No newline at end of file
570
\ 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