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
e8bbbd1d
Commit
e8bbbd1d
authored
Apr 16, 2016
by
Boris Kocherov
Committed by
Boris Kocherov
Nov 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_xhtml_style: readonly field fix
parent
a56cbc34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.zpt
...mplateItem/portal_skins/erp5_xhtml_style/field_render.zpt
+4
-5
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.zpt
View file @
e8bbbd1d
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
i18n:attributes="title" i18n:domain="ui">
i18n:attributes="title" i18n:domain="ui">
<tal:block tal:repeat="html_tuple html_render">
<tal:block tal:repeat="html_tuple html_render">
<div class="form-group row"
<div class="form-group row"
tal:define="field_offset python:repeat['html_tuple'].start
== True
and ' ' or 'col-md-offset-' + field_label_width;"
tal:define="field_offset python:repeat['html_tuple'].start and ' ' or 'col-md-offset-' + field_label_width;"
tal:attributes="class string:form-group row ${field_has_error}"
tal:attributes="class string:form-group row ${field_has_error}"
tal:condition="python: field_editable or html_tuple[1]">
tal:condition="python: field_editable or html_tuple[1]">
<tal:block tal:condition="python:(gid != 'bottom') and html_tuple[0]">
<tal:block tal:condition="python:(gid != 'bottom') and html_tuple[0]">
...
@@ -43,10 +43,9 @@
...
@@ -43,10 +43,9 @@
tal:condition="field_editable"
tal:condition="field_editable"
tal:content="structure python: html_tuple[1]" />
tal:content="structure python: html_tuple[1]" />
<div class="col-md-10"
<div class="col-md-10"
tal:attributes="class string:col-md-${field_input_width} ${field_offset};"
tal:attributes="class string:form-control-static col-md-${field_input_width} ${field_offset};"
tal:condition="not:field_editable">
tal:condition="not:field_editable"
<p class="form-control-static" tal:content="structure python: html_tuple[1]" />
tal:content="structure python: html_tuple[1]"/>
</div>
</tal:block>
</tal:block>
<tal:block tal:condition="python:gid == 'bottom' or not html_tuple[0]">
<tal:block tal:condition="python:gid == 'bottom' or not html_tuple[0]">
<div class="col-md-12" tal:content="structure python: html_tuple[1]" />
<div class="col-md-12" tal:content="structure python: html_tuple[1]" />
...
...
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