'use strict'; import React from 'react'; import apiUrls from '../../constants/api_urls'; import FormMixin from '../../mixins/form_mixin'; import InputText from './input_text'; import InputCheckbox from './input_checkbox'; import ButtonSubmitOrClose from '../ascribe_buttons/button_submit_close'; import { getLangText } from '../../utils/lang_utils.js' let SignupForm = React.createClass({ mixins: [FormMixin], url() { return apiUrls.users_signup; }, getFormData() { return { email: this.refs.email.state.value, password: this.refs.password.state.value, password_confirm: this.refs.password_confirm.state.value, terms: this.refs.terms.state.value, promo_code: this.refs.promo_code.state.value }; }, renderForm() { return (
{getLangText('Your password must be at least 10 characters')}. {getLangText('This password is securing your digital property like a bank account')}. {getLangText('Store it in a safe place')}!
{getLangText('I agree to the')}  {getLangText('Terms of Service')} }/> ); } }); export default SignupForm;