/usr/lib/python2.7/dist-packages/zope/formlib/widget_macros.pt is in python-zope.formlib 4.3.0a2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | <html i18n:domain="want an empty string, but zpt would ignore it :(">
<body>
<metal:block define-macro="widget_rows">
<div class="row" tal:repeat="widget view/widgets">
<metal:block define-macro="widget_row">
<div class="label">
<label for="field.name" title="The widget's hint"
tal:attributes="for widget/name; title widget/hint"
tal:content="widget/label" i18n:attributes="title"
i18n:translate=""
>The Label</label>
</div>
<tal:block define="error widget/error"
condition="error" content="structure error"
i18n:translate=""
>
The Error
</tal:block>
<div class="field" tal:content="structure widget">
<input type="text" style="width:100%"/>
</div>
</metal:block>
</div>
</metal:block>
</body>
</html>
|