<?php echo form_open(admin_url('hr/documents/createCategory/'), array('id' => 'category-form', 'autocomplete' => 'off')); ?>
<input type="hidden" name="id" id="category_id" value="">
<div class="modal-header">
    <h4 class="tx-14 mg-b-0 tx-uppercase tx-inverse tx-bold" id="myModalLabel"><?php echo _l('category'); ?></h4>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
    </button>
</div>
<div class="modal-body">
    <div class="row">
        <div class="col-md-12">
            <?php echo render_input('name', 'name', '', 'text', ['id' => 'category_name']); ?>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo _l('close'); ?></button>
    <button type="submit" class="btn btn-info" data-loading-text="<?php echo _l('wait_text'); ?>"
            autocomplete="off"><?php echo _l('submit'); ?></button>
</div>
<?php echo form_close(); ?>