From: Sven Schöling Date: Wed, 12 Oct 2011 12:45:11 +0000 (+0200) Subject: date_tag auch in block inputs verwenden X-Git-Tag: release-2.7.0beta1~234 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=30e4d5bfd0fbb9c65c7ce4097da09ef9902406dd;p=kivitendo-erp.git date_tag auch in block inputs verwenden --- diff --git a/templates/webpages/amcvar/render_inputs_block.html b/templates/webpages/amcvar/render_inputs_block.html index 388b017bc..e769291e6 100644 --- a/templates/webpages/amcvar/render_inputs_block.html +++ b/templates/webpages/amcvar/render_inputs_block.html @@ -3,6 +3,7 @@ [%- USE L %] [%- BLOCK cvar_name %][% HTML.escape(cvar.name_prefix) _ "cvar_" _ HTML.escape(cvar.var.name) _ HTML.escape(cvar.name_postfix) -%][% END %] [%- BLOCK cvar_inputs %] +[% render_input_blocks__cvar_name = PROCESS cvar_name %] [%- %] [%- IF cvar.hide_non_editable && !cvar.var.flag_editable %] @@ -15,16 +16,8 @@ [%- ELSIF cvar.var.type == 'textfield' %] [%- ELSIF cvar.var.type == 'date' %] - - - +[%- L.date_tag(render_input_blocks__cvar_name, cvar.value) %] + [%- ELSIF cvar.var.type == 'timestamp' %] [%- ELSIF cvar.var.type == 'select' %]