CakePhp: Generate Accept Privacy Policy checkbox
// Link generate to label accept privacy policy
$linkPrivacy = $this->Html->link(__('Accept Privacy Policy'), array('controller' => 'pages', 'action' => 'display', 'plugin' => '', 'privacy-policy'));
$option = array(
'div' => false,
'label' => $linkPrivacy,
'type' => 'checkbox',
);
echo $this->Form->input('accept_privacy_policy', $option);