/usr/lib/python2.7/dist-packages/schooltool/intervention/browser/templates/macros.pt is in python-schooltool.intervention 2.7.1-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 | <metal:block define-macro="widget-rows">
<tal:block repeat="widget view/widgets/values">
<div id="" class="row"
tal:attributes="id string:${widget/id}-row"
tal:condition="python:widget.mode != 'hidden'">
<metal:block define-macro="widget-row">
<div class="label">
<label tal:attributes="for widget/id"
tal:content="widget/label">label</label>
<span class="required"
tal:condition="widget/required">*</span>
</div>
<div class="widget" tal:content="structure widget/render">
<input type="text" size="24" value="" />
</div>
<div class="error"
tal:condition="widget/error">
<span tal:replace="structure widget/error/render">error</span>
</div>
</metal:block>
</div>
<input type="hidden" value=""
tal:condition="python:widget.mode == 'hidden'"
tal:replace="structure widget/render" />
</tal:block>
</metal:block>
|