{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/36fb51da5750cd6abd9edf48861346e4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"36fb51da5750cd6abd9edf48861346e4","url":"https://api.github.com/users/Kosmonaft","login":"Kosmonaft","id":851709},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-02T20:26:16Z","comments":4,"closed_at":"2011-11-02T20:14:32Z","url":"https://api.github.com/repos/symfony/symfony/issues/2548","body":"Hello.\r\nI need a help. I`m trying to fix this problem 3 days without any success :(\r\nI have Registration page. In this page I use JScript  to create two boxes. First is for User, second for organization.\r\nWhen I create a route to this page I set action from controller for user registration. I can`t define two actions so for second one I use rendering controller ({% render \"AidfConaBundle:Form:rejestracjaOrganizacji\"%}).\r\nSo in this way I can see in one page two forms( which are changing using JScript). \r\nWhen I register User everything work. Errors, confirmation and etc. \r\nUnfortunately the problem are with my rendered action( form).\r\nIf I submit form and I have some error the Symfony is getting me back to the registration form but automatic to first box(which is user registration) if I select second(Organization box) I see where I make mistakes(error) and I can change it. Then when I don`t have error fields and everything must work without any problems symfony show me this error page:\r\nAn exception has been thrown during the rendering of a template (\"Error when rendering \"http://156.17.130.97/Symfony/web/app_dev.php/rejestracja\" (Status code is 302).\") in \"AidfConaBundle:Form:rejestracjaUzytkownika.html.twig\" at line 180. \r\n\r\nOn this line I have my rendered controller({% render \"AidfConaBundle:Form:rejestracjaOrganizacji\"%}).\r\nI was thinking that problem is that in my <form> I don`t make any action. So I make such a combination with organization <form> that everything work. But I have next error :( If I have some error new generation page don`t extends any CSS and etc.( because when I use thus rendered controller I make only a simply form view because after rendering this form will be insert the Registration page.)\r\n\r\npls help me :)","html_url":"https://github.com/symfony/symfony/issues/2548","number":2548,"title":"[Symfony2]Rendering error","id":2125733,"created_at":"2011-11-02T20:01:28Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/36fb51da5750cd6abd9edf48861346e4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"36fb51da5750cd6abd9edf48861346e4","url":"https://api.github.com/users/Kosmonaft","login":"Kosmonaft","id":851709},"updated_at":"2011-11-02T20:26:16Z","url":"https://api.github.com/repos/symfony/symfony/issues/comments/2609083","body":"Thank you","id":2609083,"created_at":"2011-11-02T20:26:16Z"}}