summaryrefslogtreecommitdiff
path: root/templates/pages/add.mako
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2012-01-10 22:54:23 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2012-01-10 22:54:23 +0100
commita623647d714495439523c124e7efe517d6c15314 (patch)
treec2ed83240e12883944ba6c7f97736d9ef8db6c19 /templates/pages/add.mako
parent8de68a6a0d027a86205cab0c078230e9391496d5 (diff)
downloadkosten-a623647d714495439523c124e7efe517d6c15314.tar.gz
kosten-a623647d714495439523c124e7efe517d6c15314.tar.bz2
kosten-a623647d714495439523c124e7efe517d6c15314.zip
Switch to mako blocks
Diffstat (limited to '')
-rw-r--r--templates/pages/add.mako12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/pages/add.mako b/templates/pages/add.mako
index 4c7116f..e104fc5 100644
--- a/templates/pages/add.mako
+++ b/templates/pages/add.mako
@@ -9,17 +9,17 @@
<input type="submit" />
</form>
-<%def name="heading()">
+<%block name="heading">
Neue Ausgabe hinzufügen
-</%def>
+</%block>
-<%def name="js()">
+<%block name="js">
${parent.js()}
<script type="text/javascript" src=${"/static/jqueryui/jquery-ui-1.8.2.js" | url}></script>
<script type="text/javascript" src=${"/static/js/add.js" | url}></script>
-</%def>
+</%block>
-<%def name="style()">
+<%block name="style">
${parent.style()}
<link href=${"/static/jqueryui/css/ui-darkness/jquery-ui-1.8.2.custom.css" | url} rel="stylesheet" type="text/css" />
-</%def>
+</%block>