From: Sven Schöling Date: Mon, 27 Dec 2010 12:44:32 +0000 (+0100) Subject: L: hidden_tag, submit_tag X-Git-Tag: release-2.6.2beta1~64^2~34 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9f75fa254b57b62156db30f809c4ee07124301a1;p=kivitendo-erp.git L: hidden_tag, submit_tag --- diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index ec0c2d02f..19218dbb7 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -142,6 +142,14 @@ sub input_tag { return $self->html_tag('input', undef, %attributes, name => $name, value => $value); } +sub hidden_tag { + return shift->input_tag(@_, type => 'hidden'); +} + +sub submit_tag { + return shift->input_tag(@_, type => 'submit', class => 'submit'); +} + sub options_for_select { my $self = shift; my $collection = shift;