break; ?> <?php case 'password': ?> <?php if (!isset($wrap) || $wrap) { ?> <div class="input-wrap"> <?php } ?> <?php echo form_helper::password($name, form_helper::setValue($name, isset($value[$name]) ? $value[$name] : ''), array('class' => 'text ' . (isset($field['class']) && $field['class'] ? $field['class'] : 'input-xlarge'), 'style' => isset($field['style']) && $field['style'] ? $field['style'] : '', 'id' => $id, 'maxlength' => isset($field['maxlength']) && $field['maxlength'] ? $field['maxlength'] : '')); ?> <?php if (!isset($wrap) || $wrap) { ?> </div> <?php } ?> <?php break; ?> <?php case 'captcha': ?>