source: MILK/trunk/milk_server/milk_server/templates/error.html @ 5200

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/templates/error.html@5200
Revision 5200, 559 bytes checked in by cbyrom, 12 years ago (diff)

Adjust error template to display both styles of error messages.

Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2        xmlns:py="http://genshi.edgewall.org/" 
3        xmlns:xi="http://www.w3.org/2001/XInclude">
4        <xi:include href="layout.html" />
5        <head>
6        <title py:content="c.title">title</title>
7    </head>
8        <body class="submit">
9        <div id="contents">
10            <div class="metadata">
11                            <h3>  $c.title </h3>
12                <div class="error">
13                    $c.xml
14                </div>
15                <pre py:if="c.doc is not None">
16${c.doc or c.errors}
17                </pre>
18                </div>
19            </div>
20    </body>
21</html>
Note: See TracBrowser for help on using the repository browser.