Begin copying labels over from the event edit template into the Moose definition.
This commit is contained in:
parent
e4e6b84f08
commit
4f8ff01659
1 changed files with 4 additions and 0 deletions
|
|
@ -33,14 +33,17 @@ aspect assetName => ['assetName', 'Asset_Event'];
|
|||
aspect icon => 'calendar.gif';
|
||||
aspect tableName => 'Event';
|
||||
property description => (
|
||||
label => ['description', 'Asset_Event'],
|
||||
fieldType => "HTMLArea",
|
||||
defaultValue => "",
|
||||
);
|
||||
property startDate => (
|
||||
label => ['start date', 'Asset_Event'],
|
||||
fieldType => "Date",
|
||||
defaultValue => $dt->toMysqlDate,
|
||||
);
|
||||
property endDate => (
|
||||
label => ['end date', 'Asset_Event'],
|
||||
fieldType => "Date",
|
||||
defaultValue => $dt->toMysqlDate,
|
||||
);
|
||||
|
|
@ -48,6 +51,7 @@ property startTime => (
|
|||
fieldType => "TimeField",
|
||||
defaultValue => undef,
|
||||
format => 'mysql',
|
||||
|
||||
);
|
||||
property endTime => (
|
||||
fieldType => "TimeField",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue