-#extends site
+<% extends 'site.tmpl' %>
-#block body
+<% block body %>
<h2>Ruler Gallery </h2>
<h2>Create Custom Ruler</h2>
-#if $getVar('errormsg', False)
+<% if errormsg %>
<div class="errormsg">
<strong>Error</strong><br />
-$getVar('errormsg', False)
+<%= errormsg %>
</div>
+<% endif %>
-#end if
<form method="POST" action="/">
-#include 'templates/_form_elements.tmpl'
+<% include '_form_elements.tmpl' %>
<input type="Submit" name="submit" value="Generate" />
<form>
-
-#end block body
+<% endblock %>