A default error.html template to go with the simple.errorResponse() view.
authorTodd Larsen <tlarsen@google.com>
Thu, 28 Aug 2008 23:56:29 +0000
changeset 120 b09f6d85d6eb
parent 119 50d8d58dcd7c
child 121 50f0999aee66
A default error.html template to go with the simple.errorResponse() view. Patch by: Todd Larsen Review by: to-be-reviewed
app/soc/templates/soc/error.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/templates/soc/error.html	Thu Aug 28 23:56:29 2008 +0000
@@ -0,0 +1,19 @@
+{% extends "soc/base.html" %}
+{% comment %}
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+{% block page_title %}Error{%if error_status %} {{ error_status }}{% endif %}{% endblock %}
+{% block header_title %}Error{%if error_status %} {{ error_status }}{% endif %}{% endblock %}
+{% block body %}
+<div class="error">{%if error_status %}Error {{ error_status }}: {% endif %}{{ error_message }}</div>
+{% endblock %}
\ No newline at end of file