<?php echo form_open(site_url($this->uri->uri_string()), 'class="form-horizontal"'); ?> <fieldset> <?php echo textFieldRow('Username', 'username', $user, array('readonly' => 'readonly')); ?> <?php echo selectFieldRow('Role', 'role', $roles, $user); ?> <?php echo selectFieldRow('Activated', 'activated', $activatedStatus, $user); ?> <?php echo selectFieldRow('Banned', 'banned', $BannedStatus, $user); ?> <?php echo textAreaFieldRow('Banned Reason', 'ban_reason', $user, array('cols' => '40', 'rows' => '6')); ?> <div class="form-actions"> <button type="submit" class="btn btn-primary">Submit</button> </div> </fieldset> <?php echo form_close(); ?> </div> <!-- end forms -->
</p> <?php echo form_open(site_url($this->uri->uri_string()), 'class="form-horizontal"'); ?> <fieldset> <?php echo textFieldRow('Name', 'name', $node); ?> <?php echo textFieldRow('Slug', 'slug', $node); ?> <?php echo textFieldRow('Order', 'order', $node); ?> <?php echo selectFieldRow('Parent Node', 'parent_id', $nodes, $node); ?> <div class="form-actions"> <button type="submit" class="btn btn-primary">Submit</button> </div> </fieldset> <?php form_close(); ?> </div> <!-- end forms --> </div> <?php $this->load->view('admin/footer.php'); ?>