{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/15666","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/15666/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/15666/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/15666/events","html_url":"https://github.com/laravel/framework/issues/15666","id":180013084,"number":15666,"title":"@include bug when the included view uses inheritance","user":{"login":"tobia","id":48756,"avatar_url":"https://avatars.githubusercontent.com/u/48756?v=3","gravatar_id":"","url":"https://api.github.com/users/tobia","html_url":"https://github.com/tobia","followers_url":"https://api.github.com/users/tobia/followers","following_url":"https://api.github.com/users/tobia/following{/other_user}","gists_url":"https://api.github.com/users/tobia/gists{/gist_id}","starred_url":"https://api.github.com/users/tobia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobia/subscriptions","organizations_url":"https://api.github.com/users/tobia/orgs","repos_url":"https://api.github.com/users/tobia/repos","events_url":"https://api.github.com/users/tobia/events{/privacy}","received_events_url":"https://api.github.com/users/tobia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-29T10:37:42Z","updated_at":"2016-09-29T10:42:19Z","closed_at":null,"body":"- Laravel Version: 5.3\r\n- PHP Version: 7.0.11\r\n- Database Driver & Version: none\r\n\r\n### Description:\r\n\r\nFollowing up on issue #15662, where I was mistakenly trying to render a view inside another view, I converted my code to use `@include`, which is the appropriate tool for the task.\r\n\r\nBut I stumbled onto the same bug!\r\n\r\n### Steps To Reproduce:\r\n\r\nwelcome.blade.php:\r\n\r\n    @include('hello', ['name' => 'World'])\r\n    @include('hola',  ['name' => 'Mundo'])\r\n\r\nhello.blade.php:\r\n\r\n    @extends('greeting')\r\n\r\n    @section('content')\r\n        Hello, {{ $name }}!\r\n    @stop\r\n\r\nhola.blade.php:\r\n\r\n    @extends('greeting')\r\n\r\n    @section('content')\r\n        Hola, {{ $name }}!\r\n    @stop\r\n\r\ngreeting.blade.php:\r\n\r\n    <p>@yield('content')</p>\r\n\r\n### Expected results:\r\n\r\n    <p>Hello, World!</p>\r\n    <p>Hola, Mundo!</p>\r\n\r\n### Actual results:\r\n\r\n    <p>Hello, World!</p>\r\n    <p>Hello, World!</p>"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/250431686","html_url":"https://github.com/laravel/framework/issues/15666#issuecomment-250431686","issue_url":"https://api.github.com/repos/laravel/framework/issues/15666","id":250431686,"user":{"login":"tobia","id":48756,"avatar_url":"https://avatars.githubusercontent.com/u/48756?v=3","gravatar_id":"","url":"https://api.github.com/users/tobia","html_url":"https://github.com/tobia","followers_url":"https://api.github.com/users/tobia/followers","following_url":"https://api.github.com/users/tobia/following{/other_user}","gists_url":"https://api.github.com/users/tobia/gists{/gist_id}","starred_url":"https://api.github.com/users/tobia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobia/subscriptions","organizations_url":"https://api.github.com/users/tobia/orgs","repos_url":"https://api.github.com/users/tobia/repos","events_url":"https://api.github.com/users/tobia/events{/privacy}","received_events_url":"https://api.github.com/users/tobia/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T10:42:19Z","updated_at":"2016-09-29T10:42:19Z","body":"My use case is composing a form from reusable widgets. If my form has two or more text inputs, they must be rendered with the same view, and only the variables (the view data) differ!\r\n\r\nIn fact, I can simplify the above example to just use 3 views..."}}
{"actor":{"display_login":"tobia"}}