Changeset 2827 in products for quintagroup.ploneformgen.readonlystringfield/branches
- Timestamp:
- Sep 15, 2010 7:06:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.ploneformgen.readonlystringfield/branches/dahoste/quintagroup/ploneformgen/readonlystringfield/skins/readonlystringfield/readonlystring.pt
r826 r2827 31 31 size="30" 32 32 readonly="1" 33 tal:define="editable python:path('request/%s_editable|nothing' % fieldName)" 33 tal:define="editable python:path('request/%s_editable|nothing' % fieldName); 34 readonly python:not editable and '1' or None;" 34 35 tal:attributes="name fieldName; 35 36 id fieldName; … … 37 38 size widget/size; 38 39 maxlength widget/maxlength; 39 readonly python:not editable and '1' or None" 40 readonly readonly; 41 class python: readonly and 'blurrable firstToFocus readonly' or 'blurrable firstToFocus'" 40 42 /> 41 43 </metal:use>
Note: See TracChangeset
for help on using the changeset viewer.