Wrapped email login form with an id
This commit is contained in:
parent
0c0cb12a10
commit
2f0a7fbcc5
@ -284,13 +284,14 @@ emailLoginHandler toParent = do
|
|||||||
|
|
||||||
[whamlet|
|
[whamlet|
|
||||||
<form method="post" action="@{toParent loginR}">
|
<form method="post" action="@{toParent loginR}">
|
||||||
^{widget}
|
<div id="emailLoginForm">
|
||||||
<div>
|
^{widget}
|
||||||
<button type=submit .btn .btn-success>
|
<div>
|
||||||
_{Msg.LoginViaEmail}
|
<button type=submit .btn .btn-success>
|
||||||
|
_{Msg.LoginViaEmail}
|
||||||
<a href="@{toParent registerR}" .btn .btn-default>
|
|
||||||
_{Msg.RegisterLong}
|
<a href="@{toParent registerR}" .btn .btn-default>
|
||||||
|
_{Msg.RegisterLong}
|
||||||
|]
|
|]
|
||||||
where
|
where
|
||||||
loginForm extra = do
|
loginForm extra = do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user