Revision a75d454b
Von Bernd Bleßmann vor fast 5 Jahren hinzugefügt
templates/webpages/part/_basic_data.html | ||
---|---|---|
28 | 28 |
<tr> |
29 | 29 |
<th align="right">[% 'Part Description' | $T8 %]</th> |
30 | 30 |
<td> |
31 |
[% L.areainput_tag("part.description", SELF.part.description, size=40) %]</td>
|
|
31 |
[% L.areainput_tag("part.description", SELF.part.description, size=40) %] |
|
32 | 32 |
</td> |
33 | 33 |
</tr> |
34 | 34 |
<tr> |
... | ... | |
112 | 112 |
<tr> |
113 | 113 |
<th align="right">[% 'Price Factor' | $T8 %]</th> |
114 | 114 |
<td> |
115 |
[%- 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) %]</td>
|
|
115 |
[%- 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) %] |
|
116 | 116 |
</td> |
117 | 117 |
</tr> |
118 | 118 |
[%- END %] |
... | ... | |
121 | 121 |
<th align="right" nowrap="true">[% 'Unit' | $T8 %]</th> |
122 | 122 |
<td> |
123 | 123 |
[%- IF !SELF.part.id or SELF.part.orphaned # same logic as unit_changable %] |
124 |
[%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %]</td>
|
|
124 |
[%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %] |
|
125 | 125 |
[%- ELSE %] |
126 | 126 |
[% L.hidden_tag('part.unit', SELF.part.unit) %] [% HTML.escape(SELF.part.unit) %] |
127 | 127 |
[%- END %] |
Auch abrufbar als: Unified diff
Part-Controller: HTML-Template: doppelte </td>s entfernt