//'use strict'; // //import React from 'react'; // //import ApiUrls from '../../constants/api_urls'; //import FormMixin from '../../mixins/form_mixin'; //import InputText from './input_text'; //import InputTextArea from './input_textarea'; //import ButtonSubmitOrClose from '../ascribe_buttons/button_submit_close'; //import { getLangText } from '../../utils/lang_utils.js' // //let ConsignForm = React.createClass({ // mixins: [FormMixin], // // // url() { // return ApiUrls.ownership_consigns; // }, // // getFormData() { // return { // bitcoin_id: this.getBitcoinIds().join(), // consignee: this.refs.consignee.state.value, // consign_message: this.refs.consign_message.state.value, // password: this.refs.password.state.value // }; // }, // // renderForm() { // let title = this.getTitlesString().join(''); // let username = this.props.currentUser.username; // let message = //`${getLangText('Hi')}, // //${getLangText('I consign')} : //${title}${getLangText('to you')}. // //${getLangText('Truly yours')}, //${username}`; // // return ( //
// // // // // // // // ); // } //}); ////'use strict'; //// ////import React from 'react'; //// ////import ApiUrls from '../../constants/api_urls'; ////import FormMixin from '../../mixins/form_mixin'; ////import InputText from './input_text'; ////import InputTextArea from './input_textarea'; ////import ButtonSubmitOrClose from '../ascribe_buttons/button_submit_close'; ////import { getLangText } from '../../utils/lang_utils.js' //// ////let TransferForm = React.createClass({ //// mixins: [FormMixin], //// //// url() { //// return ApiUrls.ownership_transfers; //// }, //// //// getFormData() { //// return { //// bitcoin_id: this.getBitcoinIds().join(), //// transferee: this.refs.transferee.state.value, //// transfer_message: this.refs.transfer_message.state.value, //// password: this.refs.password.state.value //// }; //// }, //// //// renderForm() { //// let title = this.getTitlesString().join(''); //// let username = this.props.currentUser.username; //// let message = ////`${getLangText('Hi')}, //// ////${getLangText('I transfer ownership of')} : ////${title}${getLangText('to you')}. //// ////${getLangText('Truly yours')}, ////${username}`; //// //// return ( ////
//// //// //// //// //// ////
//// Make sure that display instructions and technology details are correct. //// They cannot be edited after the transfer. ////
//// //// //// ); //// } ////}); //// 'use strict'; import React from 'react'; import Button from 'react-bootstrap/lib/Button'; import Alert from 'react-bootstrap/lib/Alert'; import Form from './form'; import Property from './property'; import InputTextAreaToggable from './input_textarea_toggable'; import AppConstants from '../../constants/application_constants'; import { getLangText } from '../../utils/lang_utils.js'; let ConsignForm = React.createClass({ propTypes: { url: React.PropTypes.string, id: React.PropTypes.object, message: React.PropTypes.string, editions: React.PropTypes.array, currentUser: React.PropTypes.object, onRequestHide: React.PropTypes.func, handleSuccess: React.PropTypes.func }, getFormData(){ return this.props.id; }, render() { return (

} spinner={
}>
); } }); export default ConsignForm;