1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

Merge branch 'AD-456-ikonotv-branded-page-for-registra' into AD-999-style-login-and-signup-forms

This commit is contained in:
vrde 2015-09-18 15:43:44 +02:00
commit 94568934ea
3 changed files with 11 additions and 3 deletions

View File

@ -137,7 +137,7 @@ let RegisterPieceForm = React.createClass({
<input
type="number"
placeholder="(e.g. 1962)"
min={0}
min={1}
required/>
</Property>
{this.props.children}

View File

@ -110,7 +110,7 @@ let ContractSettings = React.createClass({
{getLangText('PREVIEW')}
</a>
<button
className="btn btn-default btn-sm margin-left-2px"
className="btn btn-danger btn-sm margin-left-2px"
onClick={this.removeContract(contract)}>
{getLangText('REMOVE')}
</button>
@ -148,7 +148,7 @@ let ContractSettings = React.createClass({
{getLangText('PREVIEW')}
</a>
<button
className="btn btn-default btn-sm margin-left-2px"
className="btn btn-danger btn-sm margin-left-2px"
onClick={this.removeContract(contract)}>
{getLangText('REMOVE')}
</button>

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>
);
}