From fd37c75c472bae8f57a4574843a9d2c8c88945ed Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 31 Oct 2021 02:22:04 +0200 Subject: [PATCH] Added register link to the login page. --- app/mourne_user_controller.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/mourne_user_controller.cpp b/app/mourne_user_controller.cpp index 0474523..2139e66 100644 --- a/app/mourne_user_controller.cpp +++ b/app/mourne_user_controller.cpp @@ -26,7 +26,6 @@ void MourneUserController::render_login_request_default(Request *request, LoginR b.div()->cls("login"); { - //todo href path helper b.form()->method("POST")->href("/user/login"); { @@ -46,6 +45,10 @@ void MourneUserController::render_login_request_default(Request *request, LoginR b.cinput(); } b.cform(); + + b.a()->href("/user/register"); + b.w("Register"); + b.ca(); } b.cdiv();