Wrapped email login form with an id

This commit is contained in:
Alex Kardos 2016-03-09 20:04:39 -07:00
parent 0c0cb12a10
commit 2f0a7fbcc5

View File

@ -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>
&nbsp; _{Msg.LoginViaEmail}
<a href="@{toParent registerR}" .btn .btn-default> &nbsp;
_{Msg.RegisterLong} <a href="@{toParent registerR}" .btn .btn-default>
_{Msg.RegisterLong}
|] |]
where where
loginForm extra = do loginForm extra = do