{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2489","repository_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2489/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2489/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2489/events","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2489","id":45596692,"number":2489,"title":"Add an ``edit`` button in sonata_type_model form","user":{"login":"tashanta","id":5037520,"avatar_url":"https://avatars.githubusercontent.com/u/5037520?v=3","gravatar_id":"","url":"https://api.github.com/users/tashanta","html_url":"https://github.com/tashanta","followers_url":"https://api.github.com/users/tashanta/followers","following_url":"https://api.github.com/users/tashanta/following{/other_user}","gists_url":"https://api.github.com/users/tashanta/gists{/gist_id}","starred_url":"https://api.github.com/users/tashanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tashanta/subscriptions","organizations_url":"https://api.github.com/users/tashanta/orgs","repos_url":"https://api.github.com/users/tashanta/repos","events_url":"https://api.github.com/users/tashanta/events{/privacy}","received_events_url":"https://api.github.com/users/tashanta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-10-12T23:11:24Z","updated_at":"2016-04-18T19:26:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2489","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2489","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2489.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2489.patch"},"body":"Add an `edit` button for sonata-type-model form with `many-to-one` relations.\r\nButton is rewriten and enabled when an option is selected (or already selected)\r\n\r\nEdit button uses the traditional modal in create mode.\r\n\r\n![edit_hover](https://cloud.githubusercontent.com/assets/5037520/4607866/5dd609ae-5263-11e4-81df-1ed45d612538.png)\r\n\r\nI don't know if this approch is not too intrusive (loocking for `select` tags, find an `edit` button to rewrite, change this one at any change on select, ...). Any advice would be appreciated :-)\r\n"},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments/211540961","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2489#issuecomment-211540961","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2489","id":211540961,"user":{"login":"ju1ius","id":218404,"avatar_url":"https://avatars.githubusercontent.com/u/218404?v=3","gravatar_id":"","url":"https://api.github.com/users/ju1ius","html_url":"https://github.com/ju1ius","followers_url":"https://api.github.com/users/ju1ius/followers","following_url":"https://api.github.com/users/ju1ius/following{/other_user}","gists_url":"https://api.github.com/users/ju1ius/gists{/gist_id}","starred_url":"https://api.github.com/users/ju1ius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ju1ius/subscriptions","organizations_url":"https://api.github.com/users/ju1ius/orgs","repos_url":"https://api.github.com/users/ju1ius/repos","events_url":"https://api.github.com/users/ju1ius/events{/privacy}","received_events_url":"https://api.github.com/users/ju1ius/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T19:26:57Z","updated_at":"2016-04-18T19:26:57Z","body":"@OskarStark @core23 This implementation doesn't feel right to me..."}}