Commit b490fbb6 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix bug #481.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9989 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3d30efc1
...@@ -622,9 +622,7 @@ fieldset.bottom .field label {\n ...@@ -622,9 +622,7 @@ fieldset.bottom .field label {\n
vertical-align: middle;\n vertical-align: middle;\n
}\n }\n
\n \n
.content .field.reqerror label,\n .content .required label {\n
.content .field.required label,\n
.content .field .error {\n
font-weight: bold;\n font-weight: bold;\n
}\n }\n
\n \n
...@@ -633,7 +631,11 @@ fieldset.bottom .field label {\n ...@@ -633,7 +631,11 @@ fieldset.bottom .field label {\n
color: #f00;\n color: #f00;\n
}\n }\n
\n \n
.content .field.invisible label {\n .content .error .input {\n
border: 1px solid #F00;\n
}\n
\n
.content .field .invisible label {\n
display: None;\n display: None;\n
}\n }\n
\n \n
......
...@@ -79,8 +79,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -79,8 +79,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
html_render python: field.render_htmlgrid(value, request)">\n html_render python: field.render_htmlgrid(value, request)">\n
<div tal:repeat="html_tuple html_render"\n <div tal:repeat="html_tuple html_render"\n
tal:attributes="title python: here.Localizer.translate(\'erp5_ui\', here.Base_getFieldDescription(field));\n tal:attributes="title python: here.Localizer.translate(\'erp5_ui\', here.Base_getFieldDescription(field));\n
class python: \'field \' + ({0: {0: None , 1: \'required\'},\n class python: \' \'.join([x for x in [\'field\', field.is_required() and \'required\' or None, field_errors.has_key(field.id) and \'error\' or None, field.get_value(\'css_class\') or None] if x is not None])">\n
1: {0: \'error\', 1: \'reqerror\'}}[field_errors.has_key(field.id)][field.is_required()] or \'\') + \' \' + (field.get_value(\'css_class\') or \'\')">\n
<label>\n <label>\n
<tal:block tal:content="structure python: html_tuple[0]"\n <tal:block tal:content="structure python: html_tuple[0]"\n
i18n:translate="" i18n:domain="ui"/>\n i18n:translate="" i18n:domain="ui"/>\n
......
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