'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'; 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 (
); } }); export default SignupForm;