Updated event form to allow for time input

This commit is contained in:
Luke Vella 2015-02-01 23:35:15 +01:00
parent 47b60296eb
commit 6d81b21ed1
32 changed files with 456 additions and 88 deletions

View file

@ -24,7 +24,10 @@ var EventSchema = new Schema({
},
updated : Date,
title : String,
dates : [Date],
dates : [{
date : Date,
times : [Date]
}],
emails : [{
email : String
}],
@ -43,7 +46,7 @@ var EventSchema = new Schema({
participants : [{
id : Schema.Types.ObjectId,
name : String,
dates : [Boolean]
votes : [Date]
}],
isClosed : {
type : Boolean,