X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b61f5c3df68e3a3b4fb6a8a287172b0989215748..1a0c73d30bcd5d1ceeeef5f84d94de466abf6fcc:/templates/webpages/do/form_header.html diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index 2f98575f0..b41ea72d4 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -1,5 +1,8 @@ [%- USE T8 %] -[% USE HTML %][% USE LxERP %] +[%- USE HTML %] +[%- USE LxERP %] +[%- USE L %] + @@ -50,6 +53,8 @@
[% title %]
+[%- INCLUDE 'common/flash.html' %] + [%- IF ERRORS && ERRORS.size %]

[% ERRORS.join('
') %]

[%- END %] @@ -62,7 +67,7 @@ - + @@ -80,6 +85,7 @@ + @@ -89,6 +95,7 @@ + @@ -197,20 +204,8 @@ [% 'Department' | $T8 %] - [%- IF delivered %] - - [%- FOREACH row = ALL_DEPARTMENTS %] - [% IF department == row.value %][% HTML.escape(row.description) %]--[% HTML.escape(row.id) %][% END %] - [%- END %] - [%- ELSE %] - - [%- END %] - + [% L.select_tag('department_id', L.options_for_select(ALL_DEPARTMENTS, default=department_id, title="description", with_empty=1), style='width: 250px', disabled => delivered )%] + [%- END %]