diff options
Diffstat (limited to 'view/html/recipes.html')
-rw-r--r-- | view/html/recipes.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/html/recipes.html b/view/html/recipes.html index 89620ed..d9e720b 100644 --- a/view/html/recipes.html +++ b/view/html/recipes.html @@ -8,7 +8,7 @@ <h1>Recipes</h1> </header> <main> - <p><button onclick="create('/recipe')">create</button></p> + <p><button onclick="window.location.href='/recipe/create';">create</button></p> {{if ne (len .) 0}} <p><input id="search" onkeyup="filter()" type="text" placeholder="Search for a recipe ..."></p> <ul id="recipes">{{range .}} |