Closed pardo-bsso closed 7 years ago
Hello again,
In https://github.com/voxmedia/autotune/blob/master/app/views/layouts/autotune/application.html.erb#L17 we have:
<%=render 'autotune/body_top' %> <%= yield %> <%=render 'autotune/body_bottom' %>
However in https://github.com/voxmedia/autotune/blob/master/appjs/app.js#L94
$('body').prepend(view.$el);
And if we try to add content into body_top that would still move the application above it. Is there any reason to not do something like
<%=render 'autotune/body_top' %> <div id="autotune-main-body"> <%= yield %> </div> <%=render 'autotune/body_bottom' %>
$('#autotune-main-body').prepend(view.$el);
Thanks.
That sounds totally fine
Hello again,
In https://github.com/voxmedia/autotune/blob/master/app/views/layouts/autotune/application.html.erb#L17 we have:
However in https://github.com/voxmedia/autotune/blob/master/appjs/app.js#L94
And if we try to add content into body_top that would still move the application above it. Is there any reason to not do something like
Thanks.