|
@@ -71,9 +71,12 @@ class CreateUser(Endpoint):
|
|
if not token:
|
|
if not token:
|
|
raise e.LCRedirect("/")
|
|
raise e.LCRedirect("/")
|
|
|
|
|
|
|
|
+ add_user = v.AddUser(token=token)
|
|
return render(
|
|
return render(
|
|
"main",
|
|
"main",
|
|
- v.Page(title="add user", user=self.user, content=render("add_user"),),
|
|
|
|
|
|
+ v.Page(
|
|
|
|
+ title="add user", user=self.user, content=render("add_user", add_user),
|
|
|
|
+ ),
|
|
)
|
|
)
|
|
|
|
|
|
def api_post(self):
|
|
def api_post(self):
|