From: Bernd Bleßmann Date: Thu, 6 May 2021 15:09:18 +0000 (+0200) Subject: Zeiterfassung: Eingabemaske: Dauer-Felder validieren und nicht mit 0 vorbelegen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~258 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=992eaee3513875c3a232cf96994d3419e29a2298;p=kivitendo-erp.git Zeiterfassung: Eingabemaske: Dauer-Felder validieren und nicht mit 0 vorbelegen --- diff --git a/templates/webpages/time_recording/form.html b/templates/webpages/time_recording/form.html index 9b3050b84..6dc8e6712 100644 --- a/templates/webpages/time_recording/form.html +++ b/templates/webpages/time_recording/form.html @@ -23,8 +23,8 @@ [% 'Duration' | $T8 %] - [% P.input_tag('duration_h', SELF.time_recording.duration_as_hours, size=4, class='numeric') %] [% 'h' | $T8 %](1) - [% P.input_tag('duration_m', SELF.time_recording.duration_as_minutes, size=4, class='numeric') %] [% 'min' | $T8%] + [% P.input_tag('duration_h', SELF.time_recording.duration_as_hours || '', size=4, class='numeric', "data-validate"="number", "data-title"=LxERP.t8('h')) %] [% 'h' | $T8 %](1) + [% P.input_tag('duration_m', SELF.time_recording.duration_as_minutes || '', size=4, class='numeric', "data-validate"="number", "data-title"=LxERP.t8('min')) %] [% 'min' | $T8 %] [%- ELSE %]