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/Header/ResellerRuleSetAPI.pm

33 lines
668 B

package NGCP::Panel::Form::Header::ResellerRuleSetAPI;
use HTML::FormHandler::Moose;
extends 'NGCP::Panel::Form::Header::ResellerRuleSet';
use NGCP::Panel::Utils::Subscriber;
has_field 'subscriber_id' => (
type => 'PosInteger',
label => 'Ruleset owner',
required => 0,
fif_from_value => 1,
);
has_field 'rules' => (
type => 'Compound',
required => 0,
element_attr => {
rel => ['tooltip'],
title => ['The list of rules in the set.'],
},
);
has_block 'fields' => (
tag => 'div',
class => [qw/modal-body/],
render_list => [qw/subscriber_id name description rules/],
);
1;
# vim: set tabstop=4 expandtab: