diff --git a/templates/web/index.tt2.html b/templates/web/index.tt2.html
index 4f299434f2948f3aeefc6ec5df0a109efd70cd69..0b0527794bef4f4ea98029f20049c3a6057a8a1c 100644
--- a/templates/web/index.tt2.html
+++ b/templates/web/index.tt2.html
@@ -37,34 +37,33 @@ html1/DTD/xhtml1-transitional.dtd">
             </div>
         </header>
 
-            <div id="content">
+        <div id="content">
 
-                [% IF errors %]
-                <div class="ui-widget">
-                [% PROCESS 'web/errors.tt2.html' %]
-                </div>
-                [% ELSE %]
+            [% IF errors %]
+            <div class="ui-widget">
+            [% PROCESS 'web/errors.tt2.html' %]
+            </div>
+            [% ELSE %]
                 [% IF notifications %]
-                <div class="ui-widget">
-                    [% PROCESS 'web/notices.tt2.html' %]
-                    </b>
-                </div>
-                    [% END %] <!-- notifications -->
-
-                    [% PROCESS 'web/content.tt2.html' %]
-
-                    [% END %] <!-- IF errors -->
+            <div class="ui-widget">
+                [% PROCESS 'web/notices.tt2.html' %]
+                </b>
             </div>
+                [% END %]
+
+            [% PROCESS 'web/content.tt2.html' %]
 
-            <footer>
-                <span class="align-center">[% conf.app_name %] [% conf.version %] - <a href="mailto:[% conf.support_email %]">contact us</a></span>
-            </footer>
+            [% END %]
+        </div>
 
-            <script src="foundation/js/foundation.min.js"></script>
-            <script src="foundation/js/foundation/foundation.tooltip.js"></script>
-            <script>
-                $(document).foundation();
-            </script>   
+        <footer>
+            <span class="align-center">[% conf.app_name %] [% conf.version %] - <a href="mailto:[% conf.support_email %]">contact us</a></span>
+        </footer>
 
+        <script src="foundation/js/foundation.min.js"></script>
+        <script src="foundation/js/foundation/foundation.tooltip.js"></script>
+        <script>
+            $(document).foundation();
+        </script>   
     </body>
 </html>