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/Capabilities/API.pm

33 lines
623 B

package NGCP::Panel::Form::Capabilities::API;
use HTML::FormHandler::Moose;
extends 'HTML::FormHandler';
has_field 'id' => (
type => 'PosInteger',
element_attr => {
rel => ['tooltip'],
title => ['The id of the capability.']
},
);
has_field 'name' => (
type => 'Text',
element_attr => {
rel => ['tooltip'],
title => ['The name of the capability.']
},
);
has_field 'enabled' => (
type => 'Boolean',
element_attr => {
rel => ['tooltip'],
title => ['Whether the capability is enabled.']
},
);
1;
# vim: set tabstop=4 expandtab: