more work on tests

added submission deadline and admin override fields
This commit is contained in:
daviddelikat 2009-10-05 10:14:33 -05:00
parent 536c1d03fd
commit 50988eaa64
3 changed files with 42 additions and 12 deletions

View file

@ -190,12 +190,11 @@ sub definition {
label => $i18n->get("send email label"),
hoverHelp => $i18n->get("send email label help")
},
commentTab => {
noFormPost => 1,
tab => "comments",
fieldType => "hidden",
customDrawMethod => 'drawComments',
}
adminOverride => {
noFormPost => 1,
fieldType => "hidden",
defaultValue => '{}',
},
);
push @{$definition}, {
assetName => $i18n->get('assetName'),

View file

@ -136,6 +136,13 @@ sub definition {
label => $i18n->get("delete created items label"),
hoverHelp => $i18n->get("delete created items label help")
},
submissionDeadline => {
tab => "properties",
fieldType => "Date",
defaultValue => undef,
label => $i18n->get("submission deadline label"),
hoverHelp => $i18n->get("submission deadline label help")
},
formDescription => {
tab => "properties",
fieldType => "text",