{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/18504","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/18504/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/18504/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/18504/events","html_url":"https://github.com/symfony/symfony/pull/18504","id":147404737,"number":18504,"title":"No Bootstrap markup is rendered for label set as false","user":{"login":"jongotlin","id":165154,"avatar_url":"https://avatars.githubusercontent.com/u/165154?v=3","gravatar_id":"","url":"https://api.github.com/users/jongotlin","html_url":"https://github.com/jongotlin","followers_url":"https://api.github.com/users/jongotlin/followers","following_url":"https://api.github.com/users/jongotlin/following{/other_user}","gists_url":"https://api.github.com/users/jongotlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jongotlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongotlin/subscriptions","organizations_url":"https://api.github.com/users/jongotlin/orgs","repos_url":"https://api.github.com/users/jongotlin/repos","events_url":"https://api.github.com/users/jongotlin/events{/privacy}","received_events_url":"https://api.github.com/users/jongotlin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T11:53:34Z","updated_at":"2016-06-14T06:21:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/18504","html_url":"https://github.com/symfony/symfony/pull/18504","diff_url":"https://github.com/symfony/symfony/pull/18504.diff","patch_url":"https://github.com/symfony/symfony/pull/18504.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | 2.7\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | -\r\n| Fixed tickets | #18474 \r\n| License       | MIT\r\n| Doc PR        | ~ \r\n\r\nWhen using horizontal Bootstrap forms and setting `'label' => false` for a custom form type the `form_row` renders an ugly markup\r\n![screenshot 2016-04-11 13 48 25](https://cloud.githubusercontent.com/assets/165154/14426029/1c2a3baa-ffec-11e5-9e41-471866f78bcf.png)\r\n\r\nThis pr fixes that and make the form look like this\r\n![screenshot 2016-04-11 13 45 05](https://cloud.githubusercontent.com/assets/165154/14425998/e8b029f6-ffeb-11e5-90d7-e6cc7d4b19b3.png)\r\n\r\n```php\r\n// FooType\r\n$builder\r\n    ->add('test', 'text')\r\n    ->add('foo', new BarType())\r\n    ->add('foo2', new BarType(), ['label' => false])\r\n;\r\n```\r\n\r\n```php\r\n// BarType\r\n$builder->add('child', 'text');\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/225790144","html_url":"https://github.com/symfony/symfony/pull/18504#issuecomment-225790144","issue_url":"https://api.github.com/repos/symfony/symfony/issues/18504","id":225790144,"user":{"login":"fabpot","id":47313,"avatar_url":"https://avatars.githubusercontent.com/u/47313?v=3","gravatar_id":"","url":"https://api.github.com/users/fabpot","html_url":"https://github.com/fabpot","followers_url":"https://api.github.com/users/fabpot/followers","following_url":"https://api.github.com/users/fabpot/following{/other_user}","gists_url":"https://api.github.com/users/fabpot/gists{/gist_id}","starred_url":"https://api.github.com/users/fabpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabpot/subscriptions","organizations_url":"https://api.github.com/users/fabpot/orgs","repos_url":"https://api.github.com/users/fabpot/repos","events_url":"https://api.github.com/users/fabpot/events{/privacy}","received_events_url":"https://api.github.com/users/fabpot/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T06:21:37Z","updated_at":"2016-06-14T06:21:37Z","body":"LGTM.\r\n\r\n@jongotlin Can you add some tests to ensure that we don't break this again in the future?\r\n"}}
{"actor":{"display_login":"fabpot"}}