Make it work locally
$ git flow init
Create a issue on github (e.g. Start blog application).
Form::macro('multiselect', function($name, $list = [], array $selected = [], $options = []) | |
{ | |
$options['name'] = $name; | |
$html = array(); | |
if (is_string($selected)) $selected[$selected] = $selected; | |
//dd($list, $selected); | |
foreach ($list as $value => $display) | |
{ | |
$sel = isset($selected[$value])?' selected="selected"':''; |