You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngcp-panel/lib/NGCP/Panel/Form/NumberBlock/BlockAdmin.pm

27 lines
636 B

package NGCP::Panel::Form::NumberBlock::BlockAdmin;
use HTML::FormHandler::Moose;
extends 'NGCP::Panel::Form::NumberBlock::BlockReseller';
has_field 'reseller_list' => (
type => '+NGCP::Panel::Field::DataTable',
label => 'Resellers',
do_label => 0,
do_wrapper => 0,
required => 0,
template => 'helpers/datatables_multifield.tt',
ajax_src => '/reseller/ajax',
table_titles => ['#', 'Reseller'],
table_fields => ['id', 'name'],
);
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/reseller_list e164 allocable/],
);
1;
# vim: set tabstop=4 expandtab: