Form->create('Attribute', array('id', 'url' => '/attributes/attributeReplace/' . $event_id)); ?>

Choose a category and a type, then paste a list of IOCs that match the selection into the field below. This will delete all of the attributes not found in the new inserted list, whilst creating the attributes that are in the new list but don't exist as attributes. Found matches will be left untouched.

Form->hidden('event_id'); echo $this->Form->input('category', array( 'empty' => '(choose one)' )); echo $this->Form->input('type', array( 'empty' => '(first choose category)' )); echo $this->Form->input('to_ids', array( 'type' => 'checkbox', 'label' => 'Mark all new attributes as to IDS', )); echo $this->Form->input('value', array( 'type' => 'textarea', 'error' => array('escape' => false), 'div' => 'input clear', 'class' => 'input-xxlarge', 'label' => 'Values' )); $this->Js->get('#AttributeCategory')->event('change', 'formCategoryChanged("#AttributeCategory")'); ?>
Submit Cancel
Form->end(); ?>
Js->writeBuffer(); // Write cached scripts