Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getotherResource(){
- $result = json_decode($this->curl->simple_get($this->API.'/otherResource'));
- $html = "***<div class='wrapper'>***";
- foreach($result as $r){
- $html.="<div class='m-b-xs m-t'>
- <label class='i-checks i-checks-md'>
- <input type='checkbox' name='chkotherResource' id='v-".$r->qEmployee."' value='".$r->employeeName."'>
- <i></i>
- ".$r->employeeName."
- </label>
- </div>";
- }
- ***$html.="</div>"***
- echo $html;
- }
- .wrapper {
- display: grid;
- grid-gap: 10px;
- grid-template-columns: repeat(2, 50%);
- }
Add Comment
Please, Sign In to add comment