Fix lots of syntax errors and bad definition configuration.

This commit is contained in:
Colin Kuskie 2010-03-03 16:32:57 -08:00
parent 814c2af249
commit 8f6c20d2f1
3 changed files with 8 additions and 6 deletions

View file

@ -21,14 +21,17 @@ extends 'WebGUI::Asset::File';
define assetName => ['assetName', 'Asset_GalleryFile'];
define tableName => 'GalleryFile';
property views => (
fieldType => 'integer',
noFormPost => 1,
default => 0,
);
property friendsOnly => (
fieldType => 'yesNo',
label => ['editForm friendsOnly','Asset_Photo'],
default => 0,
);
property rating => (
fieldType => 'integer',
noFormPost => 1,
default => 0,
);