minor typo fixes
[yourule] / templates / index.tmpl
index 7d2832c2b18182451cb48aacf7751697c1361a71..6e28ec671875a06a23f35b9f920d2096a58ef0d8 100644 (file)
@@ -1,28 +1,38 @@
-#extends site
+<% extends 'site.tmpl' %>
 
-#block body
+<% block body %>
 
 <h2>Ruler Gallery </h2>
 
 <p>To view a list of rulers others have created or to save your ruler so
 that others with your computer can find it, visit the <a
-href="/gallery">ruler gallery</a>.</p>
+href="<%= homepath %>/gallery">ruler gallery</a>.</p>
 
 <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="/">
+<form method="POST" action="<%= homepath %>/">
 
-#include 'templates/_form_elements.tmpl'
+<% include '_form_elements.tmpl' %>
 
 <input type="Submit" name="submit" value="Generate" />
-<form>
+</form>
 
+<h2>Other Rulers</h2>
 
-#end block body
+<p>You should check out Mitchell Charity's very accurate <a
+href="http://www.vendian.org/mncharity/dir3/paper_rulers/">printable
+paper rules</a> if you'd prefer something you can print out.</p>
+
+<p>If your computer is very well configured, you may be able to
+use Steve Pomeroy's <a href="http://staticfree.info/ruler">CSS
+rulers</a> which will not require that you figure out the horizontal
+width of your screen.</p>
+
+<% endblock %>

Benjamin Mako Hill || Want to submit a patch?