1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

Merged in AD-1000-add-already-a-user-link (pull request #68)

Add "already a user" link from signup to login
This commit is contained in:
TimDaubenschuetz 2015-09-18 15:42:32 +02:00
commit 23b03e1b84

View File

@ -1,8 +1,13 @@
'use strict';
import React from 'react';
import Router from 'react-router';
import SignupForm from './ascribe_forms/form_signup';
import { getLangText } from '../utils/lang_utils';
let Link = Router.Link;
let SignupContainer = React.createClass({
getInitialState() {
@ -33,6 +38,9 @@ let SignupContainer = React.createClass({
return (
<div className="ascribe-login-wrapper">
<SignupForm handleSuccess={this.handleSuccess} />
<div className="ascribe-login-text">
{getLangText('Already an ascribe user')}&#63; <Link to="login">{getLangText('Log in')}...</Link><br/>
</div>
</div>
);
}