From 2ba7eac1911d4a5bf21d60f84ab34e35877248f5 Mon Sep 17 00:00:00 2001 From: vrde Date: Fri, 18 Sep 2015 15:40:06 +0200 Subject: [PATCH] Add "already a user" link from signup to login --- js/components/signup_container.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/components/signup_container.js b/js/components/signup_container.js index 46813b59..8720da53 100644 --- a/js/components/signup_container.js +++ b/js/components/signup_container.js @@ -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 (
+
+ {getLangText('Already an ascribe user')}? {getLangText('Log in')}...
+
); }