summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/template.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/template.html b/templates/template.html
index 5c0c84f..bbb10cb 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -176,7 +176,7 @@
                 {{ end }}
 
                 {{ .Text }}
-                <form action="toggle" method="POST">
+                <form action="{{ $.base_path }}toggle" method="POST">
                     <input type="hidden" name="id" value="{{ .ID }}" />
                     <button type="submit" />
                 </form>
@@ -184,13 +184,13 @@
             {{ end }}
         </ul>
 
-        <form action="create" method="POST">
+        <form action="{{ .base_path }}create" method="POST">
             <div class="input-container">
                 <input type="text" id="newItem" name="newItem" tabindex="0"/>
             </div>
         </form>
 
-        <form action="delete" method="POST">
+            <form action="{{ .base_path }}delete" method="POST">
             <button type="submit" class="delete-button">Delete Selected Items</button>
         </form>