I Want make my multiple Checkbox inline in Cakephp 2. i use "display: inline". but no luck. Here is my code - in App controller-
public $guest = array('1'=>'Yes','2'=>'No');
public function beforeFilter() {
$this->set ('guest', $this->guest);
}
In ctp i write this -
<div class="col-sm-6 col-xs-6 form-group" >
<?php
echo $this->Form->input('Guest', array('style' => 'float: left; display: inline','type' => 'select', 'multiple' => 'checkbox', 'options' => $guest));
?>
</div>
Can i get help?
Aucun commentaire:
Enregistrer un commentaire