Revision 4054cdd3
Von Bernd Bleßmann vor 8 Monaten hinzugefügt
| SL/Presenter/MaterialComponents.pm | ||
|---|---|---|
|
icon
|
||
|
select_tag
|
||
|
checkbox_tag
|
||
|
wh_bin_select
|
||
|
);
|
||
|
our %EXPORT_TAGS = (ALL => \@EXPORT_OK);
|
||
|
|
||
| ... | ... | |
|
);
|
||
|
}
|
||
|
|
||
|
sub wh_bin_select {
|
||
|
my ($name, %attributes) = @_;
|
||
|
|
||
|
my @size_classes = _extract_classes(\%attributes, "size");
|
||
|
|
||
|
my $icon = $attributes{icon}
|
||
|
? icon(delete $attributes{icon}, class => 'prefix')
|
||
|
: '';
|
||
|
|
||
|
my $wh_bin_select_html = SL::Presenter::Warehouse::wh_bin_select($name, %attributes,
|
||
|
class => 'browser-default');
|
||
|
|
||
|
html_tag('div',
|
||
|
$icon . $wh_bin_select_html,
|
||
|
class => [ INPUT_FIELD, @size_classes ],
|
||
|
);
|
||
|
}
|
||
|
|
||
|
1;
|
||
|
__END__
|
||
Auch abrufbar als: Unified diff
S:P:MaterialComponents: wh_bin_select für Mobile/Material