<?php echo form_open(admin_url('hr/employee/createTerminationType/' . (isset($type) && $type ? $type->id : null) . '/'), array('id' => 'type-form', 'autocomplete' => 'off')); ?>
<div class="modal-header">
    <h4 class="tx-14 mg-b-0 tx-uppercase tx-inverse tx-bold" id="myModalLabel"><?php echo _l('hr_award_type'); ?></h4>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
    </button>
</div>
<div class="modal-body">
    <input type="hidden" class="ays-ignore" name="<?php echo $this->security->get_csrf_token_name(); ?>"
           value="<?php echo $this->security->get_csrf_hash(); ?>">
    <div class="row">
        <div class="col-md-12">
            <?php echo render_input('name', 'name', ''); ?>
            <?php echo render_textarea('description', 'description', ''); ?>
        </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(); ?>
