Revision 5bf03590
Von Moritz Bunkus vor fast 10 Jahren hinzugefügt
templates/webpages/common/render_cvar_input.html | ||
---|---|---|
20 | 20 |
[%- ELSIF ( var.config.type == 'timestamp' ) %] |
21 | 21 |
[% L.input_tag(var_name, var.value) %] |
22 | 22 |
[%- ELSIF ( var.config.type == 'customer' ) %] |
23 |
[% L.customer_picker(var_name, var.value) %]
|
|
23 |
[% L.customer_vendor_picker(var_name, var.value, type='customer') %]
|
|
24 | 24 |
[%- ELSIF ( var.config.type == 'vendor' ) %] |
25 |
[% L.vendor_selector(var_name, var.value) %]
|
|
25 |
[% L.customer_vendor_picker(var_name, var.value, type='vendor') %]
|
|
26 | 26 |
[%- ELSIF ( var.config.type == 'part' ) %] |
27 |
[% L.part_selector(var_name, var.value) %]
|
|
27 |
[% L.part_picker(var_name, var.value) %]
|
|
28 | 28 |
[%- ELSIF ( var.config.type == 'select' ) %] |
29 | 29 |
[% L.select_tag(var_name, var.config.processed_options, default = var.value) %] |
30 | 30 |
[%- ELSIF ( var.config.type == 'number' ) %] |
Auch abrufbar als: Unified diff
common/render_cvar_input.html: richtige Picker-Methoden für customer/vendor/part