From a75d454b181f20aeb18c85649ad230f78eb897e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 11 Feb 2020 14:29:31 +0100 Subject: [PATCH] Part-Controller: HTML-Template: doppelte s entfernt --- templates/webpages/part/_basic_data.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index fca9bb79e..65f0182b5 100644 --- a/templates/webpages/part/_basic_data.html +++ b/templates/webpages/part/_basic_data.html @@ -28,7 +28,7 @@ [% 'Part Description' | $T8 %] - [% L.areainput_tag("part.description", SELF.part.description, size=40) %] + [% L.areainput_tag("part.description", SELF.part.description, size=40) %] @@ -112,7 +112,7 @@ [% 'Price Factor' | $T8 %] - [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %] + [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %] [%- END %] @@ -121,7 +121,7 @@ [% 'Unit' | $T8 %] [%- IF !SELF.part.id or SELF.part.orphaned # same logic as unit_changable %] - [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %] + [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %] [%- ELSE %] [% L.hidden_tag('part.unit', SELF.part.unit) %] [% HTML.escape(SELF.part.unit) %] [%- END %] -- 2.20.1