This file is indexed.

/usr/share/pyshared/z3c/formui/table-form.pt is in python-z3c.formui 2.3.0-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
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<form action="." method="post" enctype="multipart/form-data" class="edit-form"
      metal:define-macro="form"
      tal:attributes="method view/method;
                      enctype view/enctype;
                      acceptCharset view/acceptCharset;
                      accept view/accept;
                      action view/action;
                      name view/name;
                      id view/id">
  <metal:block define-macro="subform">
  <div class="viewspace" metal:define-slot="viewspace">
    <metal:block define-slot="label">
      <h1 metal:define-macro="label"
          tal:condition="view/label|nothing"
          tal:content="view/label">
        Form Label
      </h1>
    </metal:block>
    <metal:block define-slot="info">
      <div class="required-info"
           tal:condition="view/widgets/hasRequiredFields"
           metal:define-macro="required-info">
         <tal:info content="structure view/requiredInfo" />
      </div>
    </metal:block>
    <metal:block define-slot="header">
      <div class="status"
           tal:condition="view/status"
           metal:define-macro="header">
        <div class="summary"
             i18n:translate=""
             tal:content="view/status">
          Form status summary
        </div>
        <ul class="errors"
            tal:condition="view/widgets/errors"
            metal:define-macro="errors">
          <li tal:repeat="error view/widgets/errors">
            <tal:block condition="error/widget">
              <span tal:replace="error/widget/label" />:
            </tal:block>
            <span tal:replace="structure error/render">Error Type</span>
          </li>
        </ul>
      </div>
    </metal:block>
    <div metal:define-slot="extra_info" tal:replace="nothing">
    </div>
    <div metal:define-slot="main">
      <table class="form-fields" metal:define-macro="formtable">
        <tr class="extraTopRow"
            metal:define-slot="extra_top"
            tal:replace="nothing">
          <td class="label"> Extra top </td>
          <td class="field"><input type="text" />
          </td>
        </tr>
        <tbody metal:define-slot="formbody" tal:omit-tag="">
          <tal:block omit-tag="" repeat="widget view/widgets/values">
            <tr metal:define-macro="formrow" class="row"
                tal:attributes="
                   class python: 'row' +
                                 (widget.required and ' required' or '') + \
                                 (widget.error and ' error' or '')"
                tal:condition="python:widget.mode != 'hidden'">
              <td class="label" metal:define-macro="labelcell">
                <label tal:attributes="for widget/id">
                  <span i18n:translate=""
                        tal:content="widget/label"> label </span>
                  <span class="required"
                        tal:condition="widget/required"> * </span>
                </label>
              </td>
              <td class="field" metal:define-macro="widgetcell">
                <div class="widget" tal:content="structure widget/render">
                  <input type="text" />
                </div>
                <div class="error"
                     tal:condition="widget/error">
                  <span tal:replace="structure widget/error/render">
                    error
                  </span>
                </div>
              </td>
            </tr>
          </tal:block>
        </tbody>
        <tr class="extraBottomRow"
            metal:define-slot="extra_bottom"
            tal:replace="nothing">
          <td class="label"> Extra bottom </td>
          <td class="label"><input type="text" />
          </td>
        </tr>
      </table>
      <metal:block define-macro="groups">
        <fieldset tal:condition="view/groups|nothing"
                    tal:repeat="view view/groups">
          <legend tal:condition="view/label"
                  tal:content="view/label">Label</legend>
          <metal:block define-slot="group-header">
            <div class="status"
                 tal:condition="view/widgets/errors">
              <div metal:use-macro="macro:form-errors" />
            </div>
          </metal:block>
          <metal:block define-slot="group-rows">
            <div metal:use-macro="macro:form-table" />
          </metal:block>
          <metal:subgroups tal:condition="view/groups|nothing"
                           metal:use-macro="macro:form-groups" />
        </fieldset>
      </metal:block>
      <tal:block repeat="widget view/widgets/values"
	    ><input type="hidden" value=""
                    tal:condition="python:widget.mode == 'hidden'"
                    tal:replace="structure widget/render"
      /></tal:block>
    </div>
    <metal:block define-slot="above-buttons">
    </metal:block>
  </div>
  <metal:block define-slot="buttons">
    <div metal:define-macro="buttons">
      <div class="buttons" metal:define-slot="bottom-buttons">
        <input tal:repeat="action view/actions/values"
               tal:replace="structure action/render" />
      </div>
    </div>
  </metal:block>
  <metal:block define-slot="bottom">
  </metal:block>
  </metal:block>
</form>