diff --git a/templates/index.html b/templates/index.html
index da246fc2611bdef31f7040f332ae67e70d928d21..95507ad520d8d617388efaf8601031818724922f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -16,7 +16,7 @@
 	<a href="${ url_for('edit') }">Neues Schild</a>
 	
 	<py:if test="defined('files')">
-        <form method="POST" action="/deletelist">
+	<form method="POST" action="${ url_for('deletelist') }">
 	<ul>
 		<li py:for="file in files">
                 <input id="form:${file}" type="checkbox" name="filenames" value="${file}"/>