X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7cf894f137fa5e4a2679b8a6e1aa00566041f9e4..1a0c73d30bcd5d1ceeeef5f84d94de466abf6fcc:/templates/webpages/do/form_header.html
diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html
index 2410439c3..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 @@
-
+
@@ -90,6 +95,7 @@
+
@@ -198,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 %]