whole bunch of changes to make things work cleanly on the server
[yourule] / templates / index.tmpl
index 5f3f352be4bc245607239d6876472f7b278fc3d4..bcac6d974cfe6be5032b90a72d4753a88026fa4e 100644 (file)
@@ -6,7 +6,7 @@
 
 <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>
 
@@ -17,11 +17,11 @@ href="/gallery">ruler gallery</a>.</p>
 </div>
 <% endif %>
 
-<form method="POST" action="/">
+<form method="POST" action="<%= homepath %>/">
 
 <% include '_form_elements.tmpl' %>
 
 <input type="Submit" name="submit" value="Generate" />
-<form>
+</form>
 
 <% endblock %>

Benjamin Mako Hill || Want to submit a patch?