Form->create('Event', array('type' => 'file'));?>
Form->input('Event.submittedfile', array( 'label' => 'MISP XML or JSON file', 'type' => 'file', )); ?>
Form->input('Event.takeownership', array( 'checked' => false, 'label' => 'Take ownership of the event', 'title' => 'Warning: This will change the creator organisation of the event, tampering with the event\'s ownership and releasability and can lead to unexpected behaviour when synchronising the event with instances that have another creator for the same event.' )); endif; echo $this->Form->input('publish', array( 'checked' => false, 'label' => 'Publish imported events', )); ?>
Form->button('Upload', array('class' => 'btn btn-primary')); echo $this->Form->end(); ?>
element('side_menu', array('menuList' => 'event-collection', 'menuItem' => 'addMISPExport')); ?>