Converted animal.html to Genshi template.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 5 May 2015 19:11:34 +0000 (21:11 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 5 May 2015 19:11:34 +0000 (21:11 +0200)
animals/templates/animals/detail.html

index 69554118bcd5dbb714df6b38c1277ff19a43fea9..ecf970c7f7c48bd8fed50231da993e750f6f0c20 100644 (file)
@@ -1,4 +1,16 @@
-<h1>{{ animal.name_german }}</h1>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+       xmlns:py="http://genshi.edgewall.org/"
+       xmlns:xi="http://www.w3.org/2001/XInclude">
+<html>
+<head>
+<title>Animal</title>
+</head>
+<body>
+<h1>${animal.name_german}</h1>
 <ul>
 <ul>
-    <li>Size: {{ animal.size_cm }}</li>
-</ul>
\ No newline at end of file
+    <li>Size: ${animal.size_cm}</li>
+</ul>
+</body>
+</html>