projects
/
yourule
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged in jinja template move
[yourule]
/
templates
/
index.tmpl
diff --git
a/templates/index.tmpl
b/templates/index.tmpl
index 7d2832c2b18182451cb48aacf7751697c1361a71..5f3f352be4bc245607239d6876472f7b278fc3d4 100644
(file)
--- a/
templates/index.tmpl
+++ b/
templates/index.tmpl
@@
-1,6
+1,6
@@
-#extends site
+<% extends 'site.tmpl' %>
-#block body
+<% block body %>
<h2>Ruler Gallery </h2>
<h2>Ruler Gallery </h2>
@@
-10,19
+10,18
@@
href="/gallery">ruler gallery</a>.</p>
<h2>Create Custom Ruler</h2>
<h2>Create Custom Ruler</h2>
-#if $getVar('errormsg', False)
+<% if errormsg %>
<div class="errormsg">
<strong>Error</strong><br />
<div class="errormsg">
<strong>Error</strong><br />
-$getVar('errormsg', False)
+<%= errormsg %>
</div>
</div>
+<% endif %>
-#end if
<form method="POST" action="/">
<form method="POST" action="/">
-#include 'templates/_form_elements.tmpl'
+<% include '_form_elements.tmpl' %>
<input type="Submit" name="submit" value="Generate" />
<form>
<input type="Submit" name="submit" value="Generate" />
<form>
-
-#end block body
+<% endblock %>
Benjamin Mako Hill
||
Want to submit a patch?