public function insert()
 {
     $this->add();
     $type = $this->get('type');
     $cnt = $type->getController();
     $e = $cnt->validateKey($this->post());
     if ($e->has()) {
         $this->set('error', $e);
     } else {
         $type = AttributeType::getByID($this->post('atID'));
         AttributeFormKey::add($type, $this->post());
         $this->redirect('/dashboard/forms/attributes/', 'attribute_created');
     }
 }