{"action":"opened","issue":{"url":"https://api.github.com/repos/Anahkiasen/former/issues/450","labels_url":"https://api.github.com/repos/Anahkiasen/former/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/Anahkiasen/former/issues/450/comments","events_url":"https://api.github.com/repos/Anahkiasen/former/issues/450/events","html_url":"https://github.com/Anahkiasen/former/issues/450","id":58145478,"number":450,"title":"using a checkbox in an input-group-addon breaks bootstrap layout","user":{"login":"chuckreynolds","id":46185,"avatar_url":"https://avatars.githubusercontent.com/u/46185?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckreynolds","html_url":"https://github.com/chuckreynolds","followers_url":"https://api.github.com/users/chuckreynolds/followers","following_url":"https://api.github.com/users/chuckreynolds/following{/other_user}","gists_url":"https://api.github.com/users/chuckreynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckreynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckreynolds/subscriptions","organizations_url":"https://api.github.com/users/chuckreynolds/orgs","repos_url":"https://api.github.com/users/chuckreynolds/repos","events_url":"https://api.github.com/users/chuckreynolds/events{/privacy}","received_events_url":"https://api.github.com/users/chuckreynolds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T23:23:14Z","updated_at":"2015-02-18T23:23:14Z","closed_at":null,"body":"Have this:\r\n```php\r\n@foreach ($groups as $key => $value)\r\n<label>{{{ $key }}}</label>\r\n{{ Former::group()->Class('input-group') }}\r\n\t<span class=\"input-group-addon\">\r\n\t\t{{ Former::checkbox('group_check_'.$value['value'])->check(($value['checked'] == 1 ? TRUE : FALSE )) }}\r\n\t</span>\r\n\t{{ Former::input('group_title_'.$value['value'])->value($value['title']) }}\r\n{{ Former::closeGroup() }}\r\n@endforeach\r\n```\r\nWhich then outputs this:\r\n```html\r\n<label>my label here</label>\r\n<div class=\"input-group\">\r\n\t<span class=\"input-group-addon\">\r\n\t\t<div class=\"checkbox\"><input id=\"group_check_3\" type=\"checkbox\" name=\"group_check_3\" value=\"1\"></div>\r\n\t</span>\r\n\t<input class=\"form-control\" id=\"group_title_3\" type=\"input\" name=\"group_title_3\">\r\n</div>\r\n```\r\nWhich looks like this:\r\n![screen shot 2015-02-18 at 15 15 48](https://cloud.githubusercontent.com/assets/46185/6258850/160f52fa-b781-11e4-9a81-7552decbb08a.png)\r\n\r\nThe issue is the `<div class=\"checkbox\">` around the input. If I remove that in chrome inspector I get what it should look like:\r\n![screen shot 2015-02-18 at 15 17 35](https://cloud.githubusercontent.com/assets/46185/6258870/4bd01384-b781-11e4-8001-a118b1e8ef46.png)\r\n\r\nQuestion is... How do I kill that extra div in the code I have above??? Can't tell if it's a bug when the checkbox is used as an `input-addon-group` or if I'm missing something to make Former not generate that extra div in this particular case.\r\n\r\nThx guys. Pretty new to Former & Laravel so. Bear with me :) "}}