{"action":"created","issue":{"url":"https://api.github.com/repos/haml/haml/issues/769","labels_url":"https://api.github.com/repos/haml/haml/issues/769/labels{/name}","comments_url":"https://api.github.com/repos/haml/haml/issues/769/comments","events_url":"https://api.github.com/repos/haml/haml/issues/769/events","html_url":"https://github.com/haml/haml/pull/769","id":31510762,"number":769,"title":"Remove FormFor Helper","user":{"login":"apotonick","id":10406,"avatar_url":"https://avatars.githubusercontent.com/u/10406?v=3","gravatar_id":"","url":"https://api.github.com/users/apotonick","html_url":"https://github.com/apotonick","followers_url":"https://api.github.com/users/apotonick/followers","following_url":"https://api.github.com/users/apotonick/following{/other_user}","gists_url":"https://api.github.com/users/apotonick/gists{/gist_id}","starred_url":"https://api.github.com/users/apotonick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apotonick/subscriptions","organizations_url":"https://api.github.com/users/apotonick/orgs","repos_url":"https://api.github.com/users/apotonick/repos","events_url":"https://api.github.com/users/apotonick/events{/privacy}","received_events_url":"https://api.github.com/users/apotonick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-04-14T22:28:16Z","updated_at":"2015-11-24T02:04:30Z","closed_at":"2014-04-23T23:34:41Z","pull_request":{"url":"https://api.github.com/repos/haml/haml/pulls/769","html_url":"https://github.com/haml/haml/pull/769","diff_url":"https://github.com/haml/haml/pull/769.diff","patch_url":"https://github.com/haml/haml/pull/769.patch"},"body":"The `FormFor` patch in HAML is supposed to add proper indentation to the rendered form. This is already (correctly) implemented in HAML's `form_tag` patch. Since `#form_for` internally uses `#form_tag` there is no need for redundancy that introduced a bug.\r\n\r\nThis bug happened to render the form's fields (actually, _any_ form markup) before the form instead of within the tags. To make it even more complicated, this only is visible when changing the view context in Rails.\r\n\r\nAnyway, this is fixed and tested now :grin: "},"comment":{"url":"https://api.github.com/repos/haml/haml/issues/comments/159130503","html_url":"https://github.com/haml/haml/pull/769#issuecomment-159130503","issue_url":"https://api.github.com/repos/haml/haml/issues/769","id":159130503,"user":{"login":"opti","id":17785,"avatar_url":"https://avatars.githubusercontent.com/u/17785?v=3","gravatar_id":"","url":"https://api.github.com/users/opti","html_url":"https://github.com/opti","followers_url":"https://api.github.com/users/opti/followers","following_url":"https://api.github.com/users/opti/following{/other_user}","gists_url":"https://api.github.com/users/opti/gists{/gist_id}","starred_url":"https://api.github.com/users/opti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opti/subscriptions","organizations_url":"https://api.github.com/users/opti/orgs","repos_url":"https://api.github.com/users/opti/repos","events_url":"https://api.github.com/users/opti/events{/privacy}","received_events_url":"https://api.github.com/users/opti/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T02:04:29Z","updated_at":"2015-11-24T02:04:29Z","body":":+1: for backport request"}}