mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Working on forms
This commit is contained in:
parent
3fbf9ae7cd
commit
da6c3cc03a
@ -387,6 +387,7 @@ let SpoolDetails = React.createClass({
|
||||
<a target="_blank" href={'https://www.blocktrail.com/BTC/address/' + this.props.edition.btc_owner_address_noprefix}>{this.props.edition.btc_owner_address_noprefix}</a>
|
||||
);
|
||||
|
||||
// FIXME: do not use `Form`s to display static values
|
||||
return (
|
||||
<Form>
|
||||
<Property
|
||||
|
@ -76,7 +76,8 @@ let FurtherDetails = React.createClass({
|
||||
editable={this.props.editable}
|
||||
pieceId={this.props.pieceId}
|
||||
extraData={this.props.extraData} />
|
||||
<Form>
|
||||
<Form
|
||||
buttonSubmit={false}>
|
||||
<FurtherDetailsFileuploader
|
||||
submitFile={this.submitFile}
|
||||
setIsUploadReady={this.setIsUploadReady}
|
||||
@ -85,7 +86,7 @@ let FurtherDetails = React.createClass({
|
||||
overrideForm={true}
|
||||
pieceId={this.props.pieceId}
|
||||
otherData={this.props.otherData}
|
||||
multiple={true}/>
|
||||
multiple={true} />
|
||||
</Form>
|
||||
</Col>
|
||||
</Row>
|
||||
|
@ -41,7 +41,9 @@ let PieceExtraDataForm = React.createClass({
|
||||
ref='form'
|
||||
url={url}
|
||||
handleSuccess={this.props.handleSuccess}
|
||||
getFormData={this.getFormData}>
|
||||
getFormData={this.getFormData}
|
||||
showButtonsOnEdit={true}
|
||||
buttonCancel={true}>
|
||||
<Property
|
||||
name={this.props.name}
|
||||
label={this.props.title}
|
||||
|
Loading…
Reference in New Issue
Block a user