IR: Projekt Picker für globalproject_id
authorSven Schöling <s.schoeling@googlemail.com>
Fri, 20 Nov 2020 15:31:33 +0000 (16:31 +0100)
committerSven Schöling <s.schoeling@googlemail.com>
Fri, 20 Nov 2020 16:35:08 +0000 (17:35 +0100)
templates/webpages/ir/form_header.html

index d146c7b..1c652d8 100644 (file)
         </tr>
         <tr>
           <th align="right" nowrap>[% 'Project Number' | $T8 %]</th>
-          <td>[%- L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();") %]</td>
+          <td>[% P.project.picker('globalproject_id', globalproject_id, onchange="document.getElementById('update_button').click();") %]</td>
         </tr>
       </table>
     </td>