29 |
my $fragment_for_new_item = get('fragment_for_new_item') || $self->fragment_for('new_item'); |
my $fragment_for_new_item = get('fragment_for_new_item') || $self->fragment_for('new_item'); |
30 |
my $collection = $self->_current_collection(); |
my $collection = $self->_current_collection(); |
31 |
# XXX show just materials from current unit |
# XXX show just materials from current unit |
32 |
$collection->limit( column => 'unit', value => $unit ) if $unit; |
$collection->limit( column => 'unit', value => $unit ); |
33 |
div { |
div { |
34 |
{ class is 'materials' }; |
{ class is 'materials' }; |
35 |
|
|