Commit ca523d28 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[DESIGN] small fix: forgot password is an available discrete option

parent 96790ae5
...@@ -71,8 +71,8 @@ formCpt = here.component "form" cpt where ...@@ -71,8 +71,8 @@ formCpt = here.component "form" cpt where
[ passwordInput cursors.password [ passwordInput cursors.password
, clearfix ] , clearfix ]
, termsCheckbox cursors.agreed , termsCheckbox cursors.agreed
, forgotPassword { formType }
, submitButton { backend, formType, sessions, visible, cell } , submitButton { backend, formType, sessions, visible, cell }
, forgotPassword { formType }
]] ]]
-- might be wrong, all we care about is preventDefault -- might be wrong, all we care about is preventDefault
...@@ -175,8 +175,8 @@ forgotPassword = R2.leaf forgotPasswordCpt ...@@ -175,8 +175,8 @@ forgotPassword = R2.leaf forgotPasswordCpt
forgotPasswordCpt :: R.Component ForgotPasswordProps forgotPasswordCpt :: R.Component ForgotPasswordProps
forgotPasswordCpt = here.component "forgotPassword" cpt where forgotPasswordCpt = here.component "forgotPassword" cpt where
cpt { formType } _ = do cpt { formType } _ = do
pure $ H.div { className: "form-group text-center" } pure $ H.div { className: "" }
[ H.a { className: "text-primary", [ H.a { className: "",
on: { click } } [ H.text "Forgot password?" ] on: { click } } [ H.text "Forgot password?" ]
] ]
where where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment