decided in favor of dedicated COMPONENT() macro, updates to documentation

This commit is contained in:
udo
2026-04-19 11:34:03 +00:00
parent be514d63d6
commit 2b5586d7df
56 changed files with 926 additions and 401 deletions
@@ -3,13 +3,14 @@
RENDER(Request& context)
{
starter_boot(context);
if(!starter_is_signed_in(context))
StarterUser users(context);
if(!users.is_signed_in())
{
starter_redirect("account/login", context);
return;
}
context.var["starter"]["page_title"] = "Profile";
DTree user = starter_current_user(context);
DTree user = users.current();
String roles = "";
user["roles"].each([&](DTree role, String key) {
if(roles != "")