Revision b8828a31
Von Bernd Bleßmann vor 4 Monaten hinzugefügt
SL/Presenter/MaterialComponents.pm | ||
---|---|---|
19 | 19 |
icon |
20 | 20 |
select_tag |
21 | 21 |
checkbox_tag |
22 |
wh_bin_select |
|
22 | 23 |
); |
23 | 24 |
our %EXPORT_TAGS = (ALL => \@EXPORT_OK); |
24 | 25 |
|
... | ... | |
331 | 332 |
); |
332 | 333 |
} |
333 | 334 |
|
335 |
sub wh_bin_select { |
|
336 |
my ($name, %attributes) = @_; |
|
337 |
|
|
338 |
my @size_classes = _extract_classes(\%attributes, "size"); |
|
339 |
|
|
340 |
my $icon = $attributes{icon} |
|
341 |
? icon(delete $attributes{icon}, class => 'prefix') |
|
342 |
: ''; |
|
343 |
|
|
344 |
my $wh_bin_select_html = SL::Presenter::Warehouse::wh_bin_select($name, %attributes, |
|
345 |
class => 'browser-default'); |
|
346 |
|
|
347 |
html_tag('div', |
|
348 |
$icon . $wh_bin_select_html, |
|
349 |
class => [ INPUT_FIELD, @size_classes ], |
|
350 |
); |
|
351 |
} |
|
334 | 352 |
|
335 | 353 |
1; |
336 | 354 |
__END__ |
Auch abrufbar als: Unified diff
S:P:MaterialComponents: wh_bin_select für Mobile/Material