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/Intercept/Authentication.pm

29 lines
500 B

package NGCP::Panel::Form::Intercept::Authentication;
use HTML::FormHandler::Moose;
extends 'HTML::FormHandler';
has_field 'username' => (
type => 'Text',
label => 'username',
required => 1,
);
has_field 'password' => (
type => 'Text',
label => 'password',
required => 1,
);
has_field 'type' => (
type => 'Select',
label => 'type',
required => 1,
options => [
{ value => 'admin', 'label' => 'admin' },
],
);
1;
# vim: set tabstop=4 expandtab: