!7 concept AIList { S name; S text; long modified; } p { db(); } html { if (!webAuthed()) ret redirectToWebAuth(); S newList = params.get('newList); if (nempty(newList)) { AIList l = uniq(AIList, name := newList); ret hrefresh(relativeRawOwnLink("/list/" + urlencode(l.name))); } ret htitle("Lists DB") + h3("Lists") + ul_htmlencode(mapField('name, list(AIList))) + h3("New list") + hpostform("Name: " + htextinput('newList) + " " + hsubmit("Create list")); }