X-Git-Url: https://projects.mako.cc/source/yourule/blobdiff_plain/3c8ee8b6f81d892bffbc1a5f1e7af9a9adc9fd1d..ba471ef56c488ae95dac054033c81a3541cda71c:/templates/gallery.tmpl diff --git a/templates/gallery.tmpl b/templates/gallery.tmpl index 0a94f91..b80b538 100644 --- a/templates/gallery.tmpl +++ b/templates/gallery.tmpl @@ -1,6 +1,6 @@ -#extends site +<% extends 'site.tmpl' %> -#block body +<% block body %>

Gallery of Existing Rulers

@@ -12,18 +12,18 @@ Rulers -#for $ruler in $rulers +<% for ruler in rulers %> - $ruler.model - $ruler.pixel_width - $ruler.cm_width()/$ruler.in_width + <%= ruler.model%> + <%= ruler.pixel_width %> + <%= ruler.cm_width() %>/<%= ruler.in_width() %> - cm/in + cm/in -
+
-#end for +<% endfor %>

Add Your Ruler

@@ -31,21 +31,21 @@

If your ruler is not on the list you should add it with the box form.

-#if $getVar('errormsg', False) +<% if errormsg %>
Error
-$getVar('errormsg', False) +<%= errormsg %>
-#end if +<% endif %>
-#include 'templates/_form_elements.tmpl' +<% include '_form_elements.tmpl' %>

+value="<%= model %>" />

-#end block body +<% endblock %>