<h2>Gallery of Existing Rulers</h2>
-<table>
+<table id="gallery">
<tr>
<th>Model</th>
<th>Pixel Width</th>
<td>$ruler.pixel_width</td>
<td>$ruler.cm_width()/$ruler.in_width</td>
<td>
- <a href="/show/ruler_${ruler.pixel_width}px_${ruler.cm_width}centimeters.png?fromgallery=true">cm</a>
- <a href="/show/ruler_${ruler.pixel_width}px_${ruler.in_width}inches.png?fromgallery=true">in</a>
+ <a href="/show/ruler_${ruler.pixel_width}px_${ruler.cm_width}centimeters.png?fromgallery=true">cm</a>/<a href="/show/ruler_${ruler.pixel_width}px_${ruler.in_width}inches.png?fromgallery=true">in</a>
</td>
<td><form method="GET" action="delete/$ruler.id" style="display:inline;">
<input type="submit" value="delete" /></form></td>
<p>If your ruler is not on the list you should add it with the box
form.</p>
-
+#if $getVar('errormsg', False)
+<div class="errormsg">
+<strong>Error</strong><br />
+$getVar('errormsg', False)
+</div>
+#end if
<form method="POST" action="/gallery">
#include 'templates/_form_elements.tmpl'