mirror of
https://github.com/ascribe/onion.git
synced 2025-01-05 11:25:09 +01:00
Merge branch 'master' into AD-456-ikonotv-branded-page-for-registra
This commit is contained in:
commit
004aa16b3f
@ -137,7 +137,7 @@ let RegisterPieceForm = React.createClass({
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
placeholder="(e.g. 1962)"
|
placeholder="(e.g. 1962)"
|
||||||
min={0}
|
min={1}
|
||||||
required/>
|
required/>
|
||||||
</Property>
|
</Property>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import Router from 'react-router';
|
||||||
|
|
||||||
import SignupForm from './ascribe_forms/form_signup';
|
import SignupForm from './ascribe_forms/form_signup';
|
||||||
|
|
||||||
|
import { getLangText } from '../utils/lang_utils';
|
||||||
|
|
||||||
|
let Link = Router.Link;
|
||||||
|
|
||||||
let SignupContainer = React.createClass({
|
let SignupContainer = React.createClass({
|
||||||
getInitialState() {
|
getInitialState() {
|
||||||
@ -33,6 +38,9 @@ let SignupContainer = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<div className="ascribe-login-wrapper">
|
<div className="ascribe-login-wrapper">
|
||||||
<SignupForm handleSuccess={this.handleSuccess} />
|
<SignupForm handleSuccess={this.handleSuccess} />
|
||||||
|
<div className="ascribe-login-text">
|
||||||
|
{getLangText('Already an ascribe user')}? <Link to="login">{getLangText('Log in')}...</Link><br/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user