yield_page "$(pagename "$id")" "newdate" <<-EOF
$(dlist_timeofday)
- [form method=post
+ [main [form method=post
[input name=title value="$(DBM "$file" get title |HTML)" placeholder="Title"]
[textarea name=description placeholder="Description" . $(DBM "$file" get description |HTML)]
$(if [ "$bookmarks" ]; then
else
printf '[submit "delete" "delete" Cancel] [submit "post" "post" Post Event]'
fi)
- ]
+ ]]
EOF
fi