diff --git a/docs/gotcha.txt b/docs/gotcha.txt
index 5f7ce4961..f147418d8 100644
--- a/docs/gotcha.txt
+++ b/docs/gotcha.txt
@@ -14,6 +14,11 @@ save you many hours of grief.
sure they will comply.
+ * The templates for Survey assets has changed a little. After
+ upgrading you will notice that your custom view templates
+ will not display your questions for editing in Admin mode.
+ You will need to put your questions loop inside of a section
+ loop. See the default view template for an example.
6.6.4
--------------------------------------------------------------------
* Please ensure you're running HTML::Template version 2.7, which
diff --git a/docs/upgrades/upgrade_6.6.5-6.7.0.pl b/docs/upgrades/upgrade_6.6.5-6.7.0.pl
index fa96b2775..7167553fa 100644
--- a/docs/upgrades/upgrade_6.6.5-6.7.0.pl
+++ b/docs/upgrades/upgrade_6.6.5-6.7.0.pl
@@ -27,9 +27,127 @@ insertHelpTemplate();
insertXSLTSheets();
insertSyndicatedContentTemplate();
WebGUI::Group->new('9')->delete;
+updateDefaultSurveyViewTemplate();
WebGUI::Session::close();
+#-------------------------------------------------
+sub updateDefaultSurveyViewTemplate {
+ print "\tUpdating Default Survey View template.\n" unless ($quiet);
+
+ my $template = q|
+
+