<div class="modal-dialog">
    <div class="modal-content card-outline-info">
        <div class="card-header text-white text-center">Add Role</div>
        <div class="modal-body">
               <?= form_open('admin/RolePermissions/add_role') ?>
               <input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" 
           value="<?= $this->security->get_csrf_hash(); ?>" />
                <div class="form-group">
                    <label for="name" class="small">Role Name</label>
                    <input type="text" name="name" class="form-control" required>
                </div>
                <div class="form-group">
                    <label for="label" class="small">Label</label>
                    <input type="text" name="label" class="form-control" required>
                </div>
                <div class="form-group text-right">
                <button type="submit" class="btn btn-info">Submit</button>
            </div>
               <?= form_close(); ?>
        </div>
    </div>
</div>