summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/edit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit.html b/templates/edit.html
index f4fb52a..aa6d088 100644
--- a/templates/edit.html
+++ b/templates/edit.html
@@ -28,7 +28,7 @@
<br/>
<div class="button">
<input type="submit" value="{{submitname}}" />
- <input type="button" onClick="document.location='/name/id/{{name.id}}'" value="Cancel"/>
+ <input type="button" onClick="document.location='{{name.url}}'" value="Cancel"/>
</div>
</form>
{% endblock %} \ No newline at end of file