X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c47675437f3d8b71cd5ebdec0484677d2cb94ab0..741287a80da6d42dde2b87a471ef7b6c77c8cd1f:/templates/webpages/ap/form_header.html diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index e569004bc..6a6399a99 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -170,7 +170,7 @@ [% 'Project Number' | $T8 %] - [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber', onChange = "document.getElementById('update_button').click();") %] + [% P.project.picker('globalproject_id', globalproject_id, onchange="document.getElementById('update_button').click();") %] @@ -212,7 +212,7 @@ [% temp = "project_id_"_ i %] - [% L.select_tag(temp, ALL_PROJECTS, with_empty = 1, default = loop.last ? globalproject_id : $temp, value_key = 'id', title_key = 'projectnumber') %] + [% P.project.picker(temp, loop.last ? globalproject_id : $temp) %] [% END %] @@ -308,7 +308,7 @@ [% temp = "paid_"_ i %] [% IF( changeable ) %] - + [% ELSE %] [% $temp | html %] @@ -351,7 +351,7 @@ [% temp = "paid_project_id_"_ i %] [% IF( changeable ) %] - [% L.select_tag(temp, ALL_PROJECTS, with_empty = 1, default = $temp, value_key = 'id', title_key = 'projectnumber') %] + [% P.project.picker(temp, $temp) %] [% ELSE %] [% temp = "label"_ temp %] @@ -388,5 +388,5 @@