MT#7067 Document sound set form fields.

ipeshinskaya/InvoiceTemplate5
Andreas Granig 12 years ago
parent d7735623bb
commit 8e2a050674

@ -7,12 +7,20 @@ use Moose::Util::TypeConstraints;
has_field 'reseller' => (
type => '+NGCP::Panel::Field::Reseller',
validate_when_empty => 1,
element_attr => {
rel => ['tooltip'],
title => ['The reseller this sound set belongs to.'],
},
);
has_field 'contract' => (
type => '+NGCP::Panel::Field::CustomerContract',
label => 'Customer',
validate_when_empty => 0,
element_attr => {
rel => ['tooltip'],
title => ['The contract this sound set belongs to. If set, the sound set becomes a customer sound set instead of a system sound set.'],
},
);
has_block 'fields' => (

@ -21,10 +21,18 @@ has_field 'name' => (
type => 'Text',
label => 'Name',
required => 1,
element_attr => {
rel => ['tooltip'],
title => ['The name of the sound set'],
},
);
has_field 'description' => (
type => 'Text',
element_attr => {
rel => ['tooltip'],
title => ['The description of the sound set'],
},
);
has_field 'contract_default' => (

Loading…
Cancel
Save