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/Field/Contract.pm

22 lines
498 B

package NGCP::Panel::Field::Contract;
use HTML::FormHandler::Moose;
extends 'HTML::FormHandler::Field::Compound';
has_field 'contract' => (
type => '+NGCP::Panel::Field::ContractSelect',
label => 'Contract',
required => 1,
);
has_field 'create' => (
type => 'Button',
label => 'or',
value => 'Create Contract',
#element_attr => { onclick => 'window.location=\'/contract/create\'' },
element_class => [qw/btn btn-tertiary/],
);
1;
# vim: set tabstop=4 expandtab: