This looks like a repeat of what's in app/views/dashboard/index.html.erb, can you use a partial?