From 30e4d5bfd0fbb9c65c7ce4097da09ef9902406dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 12 Oct 2011 14:45:11 +0200 Subject: [PATCH] date_tag auch in block inputs verwenden --- templates/webpages/amcvar/render_inputs_block.html | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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' %] -- 2.20.1