Hi all, I have a table like this:
CREATE TABLE `availabilities` (
`id` int(11) NOT NULL auto_increment,
`structure_id` int(11) NOT NULL,
`day` date NOT NULL,
`status` int(11) NOT NULL,
PRIMARY KEY (`id`)
)
I need to create a calendar which would let me change the status of each day, i.e., set the status of each structure to available or not available. Is there a way to do this easily, such as an helper? Or can cake manage this automatically with an input? I don't pretend the correct formatting of the calendar, but only the correct input with checkboxes, something similar to HABTM relations.
Thanks