form->csrf() ?> form->checkbox('notifications_enabled', t('Enable notifications'), '1', $notifications['notifications_enabled'] == 1) ?>

form->checkboxes('notification_types', $types, $notifications) ?>

form->radios('notifications_filter', $filters, $notifications) ?>

form->checkboxes('notification_projects', $projects, $notifications) ?>
url->link(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?>