Commit 96790ae5 authored by Alexandre Delanoë's avatar Alexandre Delanoë

Merge remote-tracking branch 'origin/405-dev-lost-password-design' into dev

parents 23f52455 65499d20
...@@ -32,7 +32,7 @@ forgotPasswordCpt = here.component "forgotPassword" cpt where ...@@ -32,7 +32,7 @@ forgotPasswordCpt = here.component "forgotPassword" cpt where
email <- T.useBox "" email <- T.useBox ""
pure $ H.div { className: "row" } pure $ H.div { className: "row" }
[ H.form { className: "col-md-12" } [ H.form { className: "text-center col-md-12" }
[ H.h4 {} [ H.text "Forgot password" ] [ H.h4 {} [ H.text "Forgot password" ]
, formGroup , formGroup
[ emailInput email ] [ emailInput email ]
...@@ -60,7 +60,7 @@ submitButtonCpt = here.component "submitButton" cpt where ...@@ -60,7 +60,7 @@ submitButtonCpt = here.component "submitButton" cpt where
cpt { backend, email, sessions } _ = do cpt { backend, email, sessions } _ = do
email' <- T.useLive T.unequal email email' <- T.useLive T.unequal email
pure $ formGroup pure $ H.div {className: "form-group text-center"}
[ H.button { className: "btn btn-primary" [ H.button { className: "btn btn-primary"
, on: { click: click email' }} , on: { click: click email' }}
[ H.text "Submit" ] [ H.text "Submit" ]
......
...@@ -176,8 +176,8 @@ forgotPasswordCpt :: R.Component ForgotPasswordProps ...@@ -176,8 +176,8 @@ 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: "form-group text-center" }
[ H.button { className: "btn btn-danger" [ H.a { className: "text-primary",
, on: { click } } [ H.text "Forgot password" ] on: { click } } [ H.text "Forgot password?" ]
] ]
where where
click _ = T.write_ ForgotPassword formType click _ = T.write_ ForgotPassword formType
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