|
41 | 41 | <fieldset><legend>classification</legend> |
42 | 42 | <table class="form"> |
43 | 43 | <tr> |
44 | | - <th class="required" i18n:translate="">Title:</th> |
| 44 | + <th class="required"><label for="title" i18n:translate="">Title:</label></th> |
45 | 45 | <td colspan="3" tal:condition="context/title/is_edit_ok" |
46 | 46 | tal:content="structure python:context.title.field(size=60)">title</td> |
47 | 47 | <td colspan="3" tal:condition="not:context/title/is_edit_ok"> |
|
81 | 81 | <span tal:replace="structure python:db.status.classhelp('id,name,description',label='Status')" />: |
82 | 82 | </th> |
83 | 83 | <td tal:content="structure context/status/menu">status</td> |
84 | | - <th i18n:translate="">Resolution:</th> |
| 84 | + <th><label for="resolution" i18n:translate="">Resolution:</label></th> |
85 | 85 | <td tal:content="structure context/resolution/menu">resolution</td> |
86 | 86 | </tr> |
87 | 87 |
|
88 | 88 | <tr tal:condition="context/id"> |
89 | | - <th> |
90 | | - <tal:block i18n:translate="">Dependencies</tal:block>: |
| 89 | + <th> <label for="dependencies" i18n:translate="">Dependencies</label> |
91 | 90 | <span tal:condition="context/dependencies/is_edit_ok" |
92 | 91 | tal:replace="structure python:db.issue.classhelp('id,title', filter='status=0,1', property='dependencies')" /> |
93 | 92 | </th> |
|
97 | 96 | <br/>View: <a tal:attributes="href string:issue${d/id}" tal:content="d/id"></a> |
98 | 97 | </span> |
99 | 98 | </td> |
100 | | - <th i18n:translate=""> |
101 | | - <tal:block i18n:translate="">Superseder</tal:block>: |
| 99 | + <th> |
| 100 | + <tal:block><label for="superseder" i18n:translate="">Superseder</label></tal:block>: |
102 | 101 | <span tal:condition="context/superseder/is_edit_ok" |
103 | 102 | tal:replace="structure python:db.issue.classhelp('id,title', filter='status=0,1', property='superseder')" /> |
104 | 103 | </th> |
|
116 | 115 | </td> |
117 | 116 | </tr> |
118 | 117 | <tr> |
119 | | - <th><tal:block i18n:translate="">Assigned To</tal:block>:</th> |
| 118 | + <th><label for="assignee" i18n:translate="">Assigned To</label>:</th> |
120 | 119 | <td tal:condition="context/status/is_edit_ok"> |
121 | 120 | <select name="assignee"> |
122 | 121 | <option value="-1">nobody</option> |
|
130 | 129 | <td tal:condition="not:context/assignee/is_edit_ok"> |
131 | 130 | <span tal:replace="structure context/assignee/plain" /> |
132 | 131 | </td> |
133 | | - <th><tal:block i18n:translate="">Nosy List</tal:block>: |
| 132 | + <th><label for="nosy" i18n:translate="">Nosy List</label>: |
134 | 133 | <span tal:condition="context/nosy/is_edit_ok" |
135 | 134 | tal:replace="structure python:db.user.classhelp('username,realname,address', property='nosy')" /> |
136 | 135 | </th> |
|
149 | 148 |
|
150 | 149 | </tr> |
151 | 150 | <tr tal:condition="context/is_edit_ok"> |
152 | | - <th><tal:block i18n:translate="">Comment</tal:block>:</th> |
| 151 | + <th><label for="@note" i18n:translate="">Comment</label>:</th> |
153 | 152 | <td colspan="3"> |
154 | 153 | <textarea tal:content="request/form/@note/value | default" |
155 | 154 | name="@note" wrap="hard" rows="10" cols="72"></textarea> |
156 | 155 | </td> |
157 | 156 | </tr> |
158 | 157 |
|
159 | 158 | <tr tal:condition="context/is_edit_ok"> |
160 | | - <th><tal:block i18n:translate="">File</tal:block>:</th> |
| 159 | + <th><label for="file-1@content" i18n:translate="">File</label>:</th> |
161 | 160 | <td colspan=3> |
162 | 161 | <input type="hidden" name="@link@files" value="file-1"> |
163 | 162 | <input type="file" name="file-1@content" size="40"> |
164 | 163 | </td> |
165 | 164 | </tr> |
166 | 165 | <tr tal:condition="context/is_edit_ok"> |
167 | | - <th><tal:block i18n:translate="">File Description</tal:block>:</th> |
| 166 | + <th><label for="file-1@description" i18n:translate="">File Description</label>:</th> |
168 | 167 | <td colspan=3><input type="edit" name="file-1@description" size="40"></td> |
169 | 168 | </tr> |
170 | 169 | </table> |
|
0 commit comments