diff options
author | Leif Johansson <leifj@sunet.se> | 2011-02-25 08:52:33 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-02-25 08:52:33 +0100 |
commit | 0e880102e27634f2691ef64dd4d248f3e233b562 (patch) | |
tree | 131b37cf1625664159e9f044957ce855bf17088a | |
parent | 2cdbe43175f4b4f185a94f3bbfac02edeb01b774 (diff) |
restful url
-rw-r--r-- | templates/edit.html | 2 |
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 |