Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
9595c4e9
Commit
9595c4e9
authored
Apr 07, 2016
by
Boris Kocherov
Committed by
Boris Kocherov
Nov 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_xhtml_style: field with error marked
parent
fb4a0349
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.zpt
...mplateItem/portal_skins/erp5_xhtml_style/field_render.zpt
+2
-1
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.zpt
View file @
9595c4e9
...
...
@@ -10,7 +10,7 @@
render_prefix render_prefix | nothing;
key_prefix key_prefix | nothing;
field_errors python: request.get('field_errors', {});
field_has_error python: field_errors.has_key(field_id);
field_has_error python: field_errors.has_key(field_id)
and 'has-error' or ''
;
global form_id form_id | form/id | nothing;
field_description field/Field_getDescription;
field_label_width python: gid in ['center'] and '2' or '3';
...
...
@@ -28,6 +28,7 @@
</tal:block>
<tal:block tal:repeat="html_tuple html_render">
<div class="form-group row"
tal:attributes="class string:form-group row ${field_has_error}"
tal:condition="python: field_editable or html_tuple[1]">
<tal:block tal:condition="python:(gid != 'bottom') and html_tuple[0]">
<label class="control-label col-md-2"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment