Chris@1296: $('#content').html('<%= escape_javascript(render :template => 'repositories/new', :formats => [:html]) %>');