MT#12565 align any form handler 'description' attr

the 'required' option of form handlers with a
"has_field 'description'" is checked and altered, so
it matches the NOT NULL column modifier of the corresponding
table column.

Change-Id: Iad07495b69a7f52c4c8a94e959b7c9d5c9f5f3e5
changes/91/1691/2
Rene Krenn 11 years ago
parent ae43bec5f0
commit 7f69b48ba3

@ -18,6 +18,7 @@ has_field 'pattern' => (
has_field 'description' => (
type => 'Text',
required => 0,
);
has_field 'save' => (

@ -27,6 +27,7 @@ has_field 'mode' => (
has_field 'description' => (
type => 'Text',
required => 0,
);
has_field 'save' => (

@ -36,6 +36,7 @@ has_field 'mode' => (
has_field 'description' => (
type => 'Text',
required => 0,
element_attr => {
rel => ['tooltip'],
title => ['The description of the level']

@ -36,6 +36,7 @@ has_field 'priority' => (
has_field 'description' => (
type => 'Text',
#not mandatory at the moment
);
has_field 'save' => (

@ -19,6 +19,7 @@ has_field 'name' => (
has_field 'description' => (
type => 'Text',
#not mandatory at the moment
);
has_field 'contract_default' => (

@ -22,7 +22,8 @@ has_field 'name' => (
has_field 'description' => (
type => 'Text',
required => 0,
required => 1,
#not_nullable => 1, in the future?
element_attr => {
rel => ['tooltip'],
title => ['Arbitrary text.'],

@ -19,7 +19,8 @@ has_field 'name' => (
has_field 'description' => (
type => 'Text',
required => 0,
required => 1,
#not_nullable => 1, in the future?
label => 'New Description',
);

@ -19,7 +19,8 @@ has_field 'name' => (
has_field 'description' => (
type => 'Text',
required => 0,
required => 1,
#not_nullable => 1, in the future?
label => 'New Description',
);

@ -22,7 +22,8 @@ has_field 'name' => (
has_field 'description' => (
type => 'Text',
required => 0,
required => 1,
#not_nullable => 1, in the future?
element_attr => {
rel => ['tooltip'],
title => ['Arbitrary text.'],

Loading…
Cancel
Save