create('Industry');?>
input('name'); if(!isset($parent)) { echo $form->input('parent_id', array('type'=>'hidden', 'value' => 0)); echo $form->input('sub_category', array('label'=>'Name of the first Sub-Industry to this new Industry')); } else { echo $form->input('parent_id', array('type'=>'hidden', 'value' => $parent['Industry']['id'])); } ?>
end('Submit');?>