%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="wrapper d-flex align-items-stretch"> <?php include('_parts/admin_sidebar.php') ?> <div id="content"> <?php include('_parts/admin_internal_header.php') ?> <div class="main-body"> <div class="headings"> <h4><?php if($responseArray['role_id']>0) { echo 'Edit'; } else { echo 'Add'; }?> Role Type</h4> <button name="Submit2" type="button" class="button3" value="Back" onClick="javascript:history.go(-1)"><i class="fa fa-angle-left" aria-hidden="true"></i> Back</button> </div> <div class="white-box"> <!-- BASIC FORM ELELEMNTS --> <div class="form1"> <div class="form-panel"> <?php if($errormsg) { ?> <div class="alert alert-danger alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <b>Oh snap!</b> </b> <?php echo htmlentities($errormsg);?></div> <?php } ?> <form class="form-horizontal style-form" method="post" name="editgrievance"> <ul> <li> <label>Name <span style="color:red;">*</span></label> <input type="text" name="role_name" required="required" class="form-control" value="<?=$responseArray['role_name']?>" > </li> <li> <h6>Module List <span style="color:red;">*</span></h6> </li> <li> <span class="checkbox-input checkbox-inline"> <input type="checkbox" name="module_ids[]" id="module_ids_0" class="form-control" value="ALL" <?php if($responseArray['module_ids']=='ALL'){ echo 'checked'; }?> /> <label for="module_ids_0">ALL</label> </span> <?php $module_ids = explode(',',$responseArray['module_ids']); $k=1; foreach($moduleArray as $row) { ?> <span class="checkbox-input checkbox-inline"><input type="checkbox" id="module_ids_<?=$k?>" name="module_ids[]" class="form-control" value="<?=$row['id'] ?>" <?php if(in_array($row['id'],$module_ids)) { echo 'checked'; }?> /> <label for="module_ids_<?=$k?>"><?=$row['display_name'] ?></label> </span> <?php $k++; } ?> </li> <li> <label>Status <span style="color:red;">*</span></label> <span class="select"> <select name="status" required="required"> <span> <option value=''>Select Status</option> <option value='1' <?php if($responseArray['status']=='1') { echo 'selected'; } ?>>Active</option> <option value='0' <?php if($responseArray['status']=='0') { echo 'selected'; } ?>>In Active</option> </span> </select> </span> </li> <li> <input type="submit" name="submit" value="Submit" class="btn button5" /> </li> </ul> </form> </div> </div> </div> </div> </div> </div> <script src="<?=base_url('assets/js/popper.js'); ?>"></script> <script src="<?=base_url('assets/js/main.js'); ?>"></script>