Finalized implementation of attribute String.transform.
This commit is contained in:
parent
0e83a6f490
commit
aea19a819e
2 changed files with 33 additions and 1 deletions
|
@ -43,12 +43,14 @@
|
|||
<tal:line condition="python: isOneLine and not isSelect">
|
||||
<input tal:attributes="id name; name name; size widget/width;
|
||||
value python: test(inRequest, requestValue, value);
|
||||
style python: 'text-transform:%s' % widget['transform'];
|
||||
type python: (widget['format'] == 3) and 'password' or 'text'"/>
|
||||
</tal:line>
|
||||
<tal:textarea condition="python: fmt == 1">
|
||||
<textarea tal:attributes="id name; name name;
|
||||
cols widget/width;
|
||||
rows widget/height;"
|
||||
rows widget/height;
|
||||
style python: 'text-transform:%s' % widget['transform'];"
|
||||
tal:content="python: test(inRequest, requestValue, value)">
|
||||
</textarea>
|
||||
<input type="hidden" value="text/plain" originalvalue="text/plain"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue