diff --git a/template/html/entry.html b/template/html/entry.html
index cc061aa5..5fe50014 100644
--- a/template/html/entry.html
+++ b/template/html/entry.html
@@ -15,7 +15,7 @@
data-label-loading="{{ t "Saving..." }}"
data-label-star="☆ {{ t "Star" }}"
data-label-unstar="★ {{ t "Unstar" }}"
- data-value="{{ if .Starred }}star{{ else }}unstar{{ end }}"
+ data-value="{{ if .entry.Starred }}star{{ else }}unstar{{ end }}"
>{{ if .entry.Starred }}★ {{ t "Unstar" }}{{ else }}☆ {{ t "Star" }}{{ end }}
{{ if .hasSaveEntry }}