Form->create('Attribute', array('id')); ?>
Form->hidden('event_id'); echo $this->Form->input('category', array( 'empty' => '(choose one)', 'label' => 'Category ' . $this->element('formInfo', array('type' => 'category')), )); echo $this->Form->input('type', array( 'empty' => '(first choose category)', 'label' => 'Type ' . $this->element('formInfo', array('type' => 'type')), )); $initialDistribution = 5; if (Configure::read('MISP.default_attribute_distribution') != null) { if (Configure::read('MISP.default_attribute_distribution') === 'event') { $initialDistribution = 5; } else { $initialDistribution = Configure::read('MISP.default_attribute_distribution'); } } ?>
Form->input('distribution', array( 'options' => array($distributionLevels), 'label' => 'Distribution ' . $this->element('formInfo', array('type' => 'distribution')), 'selected' => $initialDistribution, )); ?> Form->input('value', array( 'type' => 'textarea', 'error' => array('escape' => false), 'div' => 'input clear', 'class' => 'input-xxlarge' )); ?>
Form->input('comment', array( 'type' => 'text', 'label' => 'Contextual Comment', 'error' => array('escape' => false), 'div' => 'input clear', 'class' => 'input-xxlarge' )); ?>
Form->input('to_ids', array( 'checked' => false, 'label' => 'for Intrusion Detection System', )); echo $this->Form->input('batch_import', array( 'type' => 'checkbox' )); ?>

" id="warning-message">Warning: You are about to share data that is of a sensitive nature (Attribution / targeting data). Make sure that you are authorised to share this.

Submit Cancel
Form->button('Submit', array('class' => 'btn btn-primary')); endif; echo $this->Form->end(); ?>
request->data['Attribute']['event_id']; $event['Event']['published'] = $published; echo $this->element('side_menu', array('menuList' => 'event', 'menuItem' => 'addAttribute', 'event' => $event)); } ?> Js->writeBuffer(); // Write cached scripts