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