Viewing:
{{define "body"}}
<ul>
{{range .Recipes}}
<li>
<a href="/recipes/{{.RecipeId}}">{{ .Preview }}</a>
<button
hx-delete="/recipes/{{.Id}}/later"
hx-confirm="Are you sure you want to remove {{ .Preview }} from list of saved recipes?">Remove</button>
</li>
{{else}}
<li><strong>No recipes saved for later</strong></li>
{{end}}
</ul>
<form hx-post="/later_notes">
<a href="/recipes_for_later">cancel</a>
<textarea name="notes">{{.Notes}}</textarea>
<input type="submit" value="Save">
</form>
{{end}}