Added register link to the login page.

This commit is contained in:
Relintai 2021-10-31 02:22:04 +02:00
parent 5b31cb7df8
commit fd37c75c47

View File

@ -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();