public function actionRetrieveConsentSignature($id)
{
$signature_element = $this->getManager()->getConsentSignatureElementForEvent($this->event);
if ($signature_element->saveSignatureImageFromPortal()) {
$this->event->audit('event', 'cvi-consent-added', null, 'CVI Consent Signature Added', array('user_id' => $this->getApp()->user->id));
$this->getApp()->user->setFlash('success.cvi_consent_signature', 'Signature successfully loaded.');
$this->updateEventInfo();
} else {
$this->getApp()->user->setFlash('error.cvi_consent_signature', 'Signature could not be found');
}
$this->redirect(array('/' . $this->event->eventType->class_name . '/default/view/' . $id));
}