aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/UI/ViewPort/Baz/ListView/Member.pm
blob: ca534aa64f33a6d7193f6112b6ba36cd508ad3ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package ComponentUI::UI::ViewPort::Baz::ListView::Member;

use Reaction::Class;
use namespace::clean -except => [ qw(meta) ];
use aliased 'Reaction::UI::ViewPort::Field::String::Fragment';

extends 'Reaction::UI::ViewPort::Collection::Grid::Member';

sub _build_layout {
 'collection/grid/member';
}

sub _build_fields_for_name_description {
  my ($self, $attr, $args) = @_;
  $self->_build_simple_field(attribute => $attr, class => Fragment, %$args);
}

__PACKAGE__->meta->make_immutable;

1;

__END__;