diff options
Diffstat (limited to 'view/html/recipe-edit.html')
-rw-r--r-- | view/html/recipe-edit.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/html/recipe-edit.html b/view/html/recipe-edit.html index 7dda7ff..aeb8e59 100644 --- a/view/html/recipe-edit.html +++ b/view/html/recipe-edit.html @@ -32,7 +32,7 @@ </p> <button type="submit">save</button> - <a href="/recipe/{{.Id}}"><button type="button">cancel</button></a> + <button onclick="window.location.href='/recipe/{{.Id}}';">cancel</button> </form> </main> {{ template "footer" }} |