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 d9e720b..35059f7 100644 --- a/view/html/recipes.html +++ b/view/html/recipes.html @@ -12,7 +12,7 @@ {{if ne (len .) 0}} <p><input id="search" onkeyup="filter()" type="text" placeholder="Search for a recipe ..."></p> <ul id="recipes">{{range .}} - <li><a href="./recipe/{{.Id}}">{{.Title}}</a></li>{{end}} + <li><a href="./recipe/{{.Id}}">{{.Title}}</a>{{if .IsFavorite}} ⭐{{end}}</li>{{end}} </ul>{{else}} <p><i>No recipes available.</i></p>{{end}} </main> |