Commit 6bcaa3cb authored by Mai Thanh Cong's avatar Mai Thanh Cong

replace text in signin

parent 45c3aa7d
...@@ -91,7 +91,7 @@ export default () => { ...@@ -91,7 +91,7 @@ export default () => {
<Col lg={5}> <Col lg={5}>
<Card className="bg-secondary shadow border-0"> <Card className="bg-secondary shadow border-0">
<CardHeader> <CardHeader>
<h5 className="text-center text-primary">Password recovery</h5> <h5 className="text-center text-primary">Khôi phc mt khu</h5>
</CardHeader> </CardHeader>
<CardBody className="px-lg-5 py-lg-5"> <CardBody className="px-lg-5 py-lg-5">
<Form role="form" onSubmit={onHandleForgotPassword}> <Form role="form" onSubmit={onHandleForgotPassword}>
...@@ -107,7 +107,7 @@ export default () => { ...@@ -107,7 +107,7 @@ export default () => {
required required
autoFocus autoFocus
type="text" type="text"
placeholder="Your email" placeholder="Email của bạn"
value={email} value={email}
onChange={(e) => setEmail(e.target.value)} onChange={(e) => setEmail(e.target.value)}
invalid={validEmail} /> invalid={validEmail} />
...@@ -120,7 +120,7 @@ export default () => { ...@@ -120,7 +120,7 @@ export default () => {
color="primary" color="primary"
type="submit" type="submit"
> >
Recover password Xác nhn
</Button> </Button>
</div> </div>
</Form> </Form>
...@@ -129,12 +129,12 @@ export default () => { ...@@ -129,12 +129,12 @@ export default () => {
<Row className="mt-3"> <Row className="mt-3">
<Col className="d-flex justify-content-start align-items-center"> <Col className="d-flex justify-content-start align-items-center">
<small className="text-light mr-2"> <small className="text-light mr-2">
No forgot password? Không đổi mt khu?
</small> </small>
<Link <Link
to={Routes.Signin.path}> to={Routes.Signin.path}>
<small className="text-primary"> <small className="text-primary">
Login Đăng nhp
</small> </small>
</Link> </Link>
</Col> </Col>
......
...@@ -96,7 +96,7 @@ export default () => { ...@@ -96,7 +96,7 @@ export default () => {
<Col lg={5}> <Col lg={5}>
<Card className="bg-secondary shadow border-0"> <Card className="bg-secondary shadow border-0">
<CardHeader> <CardHeader>
<h5 className="text-center text-primary">Password reset</h5> <h5 className="text-center text-primary">Đặt li mt khu</h5>
</CardHeader> </CardHeader>
<CardBody className="px-lg-5 py-lg-5"> <CardBody className="px-lg-5 py-lg-5">
<Form role="form" onSubmit={onHandleResetPassword}> <Form role="form" onSubmit={onHandleResetPassword}>
...@@ -109,7 +109,7 @@ export default () => { ...@@ -109,7 +109,7 @@ export default () => {
</InputGroupText> </InputGroupText>
</InputGroupAddon> </InputGroupAddon>
<Input <Input
placeholder="Verify Code" placeholder="Nhập mã code"
type="number" min={0} value={code} onChange={(e) => setCode(e.target.value)} /> type="number" min={0} value={code} onChange={(e) => setCode(e.target.value)} />
</InputGroup> </InputGroup>
</FormGroup> </FormGroup>
...@@ -124,7 +124,7 @@ export default () => { ...@@ -124,7 +124,7 @@ export default () => {
<Input <Input
required required
type="password" type="password"
placeholder="Password" placeholder="Mật khẩu mới"
autoComplete="on" autoComplete="on"
value={newPassword} value={newPassword}
onChange={(e) => setNewPassword(e.target.value)} onChange={(e) => setNewPassword(e.target.value)}
...@@ -143,7 +143,7 @@ export default () => { ...@@ -143,7 +143,7 @@ export default () => {
<Input <Input
required required
type="password" type="password"
placeholder="Confirm Password" placeholder="Xác nhận mật khẩu"
autoComplete="on" autoComplete="on"
value={confirmPassword} value={confirmPassword}
onChange={(e) => setConfirmPassword(e.target.value)} onChange={(e) => setConfirmPassword(e.target.value)}
...@@ -158,7 +158,7 @@ export default () => { ...@@ -158,7 +158,7 @@ export default () => {
color="primary" color="primary"
type="submit" type="submit"
> >
Reset password Đặt li mt khu
</Button> </Button>
</div> </div>
</Form> </Form>
...@@ -167,12 +167,12 @@ export default () => { ...@@ -167,12 +167,12 @@ export default () => {
<Row className="mt-3"> <Row className="mt-3">
<Col className="d-flex justify-content-start align-items-center"> <Col className="d-flex justify-content-start align-items-center">
<small className="text-light mr-2"> <small className="text-light mr-2">
Not reset? Không đổi mt khu?
</small> </small>
<Link <Link
to={Routes.ForgotPassword.path}> to={Routes.ForgotPassword.path}>
<small className="text-primary"> <small className="text-primary">
Back to forgot password Quay li
</small> </small>
</Link> </Link>
</Col> </Col>
......
...@@ -117,7 +117,7 @@ export default () => { ...@@ -117,7 +117,7 @@ export default () => {
<Col lg="5"> <Col lg="5">
<Card className="bg-secondary shadow border-0"> <Card className="bg-secondary shadow border-0">
<CardHeader> <CardHeader>
<h5 className="text-center text-primary">Sign in</h5> <h5 className="text-center text-primary">Đăng nhp</h5>
</CardHeader> </CardHeader>
<CardBody className="px-lg-5 py-lg-5"> <CardBody className="px-lg-5 py-lg-5">
<Form role="form" onSubmit={onHandleLogin}> <Form role="form" onSubmit={onHandleLogin}>
...@@ -130,7 +130,7 @@ export default () => { ...@@ -130,7 +130,7 @@ export default () => {
</InputGroupAddon> </InputGroupAddon>
<Input <Input
required required
placeholder="Example@company.com" placeholder="Email@gmail.com"
type="text" type="text"
value={email} value={email}
onChange={(e) => setEmail(e.target.value)} onChange={(e) => setEmail(e.target.value)}
......
...@@ -120,7 +120,7 @@ export default () => { ...@@ -120,7 +120,7 @@ export default () => {
</InputGroupAddon> </InputGroupAddon>
<Input <Input
required required
placeholder="Example@company.com" placeholder="Email@gmail.com"
type="email" type="email"
value={email} value={email}
onChange={(e) => setEmail(e.target.value)} onChange={(e) => setEmail(e.target.value)}
......
...@@ -97,7 +97,7 @@ export default () => { ...@@ -97,7 +97,7 @@ export default () => {
autoFocus autoFocus
required required
type="number" type="number"
placeholder="Verify Code" placeholder="Nhập mã code"
min={0} min={0}
value={code} value={code}
onChange={(e) => setCode(e.target.value)} /> onChange={(e) => setCode(e.target.value)} />
...@@ -109,7 +109,7 @@ export default () => { ...@@ -109,7 +109,7 @@ export default () => {
color="primary" color="primary"
type="submit" type="submit"
> >
Verify Xác nhn
</Button> </Button>
</div> </div>
</Form> </Form>
...@@ -120,7 +120,7 @@ export default () => { ...@@ -120,7 +120,7 @@ export default () => {
<Link <Link
to={Routes.Signup.path}> to={Routes.Signup.path}>
<small className="text-primary"> <small className="text-primary">
Back to sign up Quay li đăng kí
</small> </small>
</Link> </Link>
</Col> </Col>
......
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