X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Famcvar%2Frender_inputs_block.html;h=8f0b20f3ef99063232f77cd13f522912ec074317;hb=9c19433144efc5b50d90a969aa9ac6ea65b2dbbf;hp=bea36c04867c8f4600f519438ddcb15a3022b807;hpb=7dd8ee369c041cbcd772bb27de8fdacb21166626;p=kivitendo-erp.git
diff --git a/templates/webpages/amcvar/render_inputs_block.html b/templates/webpages/amcvar/render_inputs_block.html
index bea36c048..8f0b20f3e 100644
--- a/templates/webpages/amcvar/render_inputs_block.html
+++ b/templates/webpages/amcvar/render_inputs_block.html
@@ -1,44 +1,78 @@
[%- USE T8 %]
[%- USE HTML %]
+[%- USE L %]
+[%- USE LxERP %][%- USE P -%]
[%- BLOCK cvar_inputs %]
-[%- var = cvar.var %]
-[%- hide_non_editable = cvar.hide_non_editable, %]
-[%- name_prefix = cvar.name_prefix, %]
-[%- name_postfix = cvar.name_postfix, %]
-[%- valid = cvar.valid, %]
-[%- value = cvar.value, %]
-[%- var_name = HTML.escape(name_prefix) _ "cvar_" _ HTML.escape(var.name) _ HTML.escape(name_postfix) -%]
-[%- %]
-[%- IF hide_non_editable && !var.flag_editable %]
-
-[%- ELSIF !valid %]
+[%- SET render_cvar_tag_options = {};
+ render_cvar_tag_options.import(cvar_tag_options) IF cvar_tag_options;
+ SET cvar_tag_name = HTML.escape(cvar.name_prefix) _ "cvar_" _ HTML.escape(cvar.var.name) _ HTML.escape(cvar.name_postfix);
+ IF !render_cvar_tag_options.id && (cvar.var.type != 'select');
+ SET render_cvar_tag_options.no_id = 1;
+ END;
+%]
+
+[%- IF (!cvar.hide_non_editable || cvar.var.flag_editable) && !cvar.partsgroup_filtered %]
+
+[%- IF !cvar.valid %]
[%- IF show_disabled_message %]
[% 'Element disabled' | $T8 %]
[%- END %]
-[%- ELSIF var.type == 'bool' %]
-
-[%- ELSIF var.type == 'textfield' %]
-
-[%- ELSIF var.type == 'date' %]
-
-
-
-[%- ELSIF var.type == 'timestamp' %]
-
-[%- ELSIF var.type == 'select' %]
-