{"action":"created","issue":{"url":"https://api.github.com/repos/voxmedia/autotune/issues/395","repository_url":"https://api.github.com/repos/voxmedia/autotune","labels_url":"https://api.github.com/repos/voxmedia/autotune/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/voxmedia/autotune/issues/395/comments","events_url":"https://api.github.com/repos/voxmedia/autotune/issues/395/events","html_url":"https://github.com/voxmedia/autotune/issues/395","id":196913129,"number":395,"title":"[question] Layout customization (Autotune is always prepended to body)","user":{"login":"pardo-bsso","id":940837,"avatar_url":"https://avatars.githubusercontent.com/u/940837?v=3","gravatar_id":"","url":"https://api.github.com/users/pardo-bsso","html_url":"https://github.com/pardo-bsso","followers_url":"https://api.github.com/users/pardo-bsso/followers","following_url":"https://api.github.com/users/pardo-bsso/following{/other_user}","gists_url":"https://api.github.com/users/pardo-bsso/gists{/gist_id}","starred_url":"https://api.github.com/users/pardo-bsso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pardo-bsso/subscriptions","organizations_url":"https://api.github.com/users/pardo-bsso/orgs","repos_url":"https://api.github.com/users/pardo-bsso/repos","events_url":"https://api.github.com/users/pardo-bsso/events{/privacy}","received_events_url":"https://api.github.com/users/pardo-bsso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-21T11:46:33Z","updated_at":"2016-12-21T15:44:33Z","closed_at":null,"body":"Hello again,\r\n\r\nIn https://github.com/voxmedia/autotune/blob/master/app/views/layouts/autotune/application.html.erb#L17 we have:\r\n\r\n```html\r\n<%=render 'autotune/body_top' %>\r\n<%= yield %>\r\n<%=render 'autotune/body_bottom' %>\r\n```\r\n\r\nHowever in https://github.com/voxmedia/autotune/blob/master/appjs/app.js#L94\r\n\r\n```javascript\r\n $('body').prepend(view.$el);\r\n```\r\n\r\nAnd if we try to add content into body_top that would still move the application above it.\r\nIs there any reason to not do something like\r\n\r\n\r\n```html\r\n<%=render 'autotune/body_top' %>\r\n<div id=\"autotune-main-body\">\r\n  <%= yield %>\r\n</div>\r\n<%=render 'autotune/body_bottom' %>\r\n```\r\n\r\n```javascript\r\n $('#autotune-main-body').prepend(view.$el);\r\n```\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/voxmedia/autotune/issues/comments/268555255","html_url":"https://github.com/voxmedia/autotune/issues/395#issuecomment-268555255","issue_url":"https://api.github.com/repos/voxmedia/autotune/issues/395","id":268555255,"user":{"login":"ryanmark","id":114194,"avatar_url":"https://avatars.githubusercontent.com/u/114194?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanmark","html_url":"https://github.com/ryanmark","followers_url":"https://api.github.com/users/ryanmark/followers","following_url":"https://api.github.com/users/ryanmark/following{/other_user}","gists_url":"https://api.github.com/users/ryanmark/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanmark/subscriptions","organizations_url":"https://api.github.com/users/ryanmark/orgs","repos_url":"https://api.github.com/users/ryanmark/repos","events_url":"https://api.github.com/users/ryanmark/events{/privacy}","received_events_url":"https://api.github.com/users/ryanmark/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T15:44:33Z","updated_at":"2016-12-21T15:44:33Z","body":"That sounds totally fine"}}
{"actor":{"display_login":"ryanmark"}}