Fix lots of syntax errors and bad definition configuration.
This commit is contained in:
parent
814c2af249
commit
8f6c20d2f1
3 changed files with 8 additions and 6 deletions
|
|
@ -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,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue