mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Add additional fields to step two of cyland's loan process
This commit is contained in:
parent
3cde6eec95
commit
8892ac4225
@ -122,21 +122,69 @@ let CylandAdditionalDataForm = React.createClass({
|
|||||||
{heading}
|
{heading}
|
||||||
<Property
|
<Property
|
||||||
name='artist_bio'
|
name='artist_bio'
|
||||||
label={getLangText('Artist Biography')}>
|
label={getLangText('Artist Biography')}
|
||||||
|
hidden={disabled && !this.props.piece.extra_data.artist_bio}>
|
||||||
<InputTextAreaToggable
|
<InputTextAreaToggable
|
||||||
rows={1}
|
rows={1}
|
||||||
defaultValue={piece.extra_data.artist_bio}
|
defaultValue={piece.extra_data.artist_bio}
|
||||||
placeholder={getLangText('Enter the artist\'s biography...')}/>
|
placeholder={getLangText('Enter the artist\'s biography...')}/>
|
||||||
</Property>
|
</Property>
|
||||||
|
<Property
|
||||||
|
name='artist_contact_information'
|
||||||
|
label={getLangText('Artist Contact Information')}
|
||||||
|
hidden={disabled && !this.props.piece.extra_data.artist_contact_information}>
|
||||||
|
<InputTextAreaToggable
|
||||||
|
rows={1}
|
||||||
|
defaultValue={piece.extra_data.artist_contact_information}
|
||||||
|
placeholder={getLangText('Enter the artist\'s contact information...')}/>
|
||||||
|
</Property>
|
||||||
<Property
|
<Property
|
||||||
name='conceptual_overview'
|
name='conceptual_overview'
|
||||||
label={getLangText('Conceptual Overview')}>
|
label={getLangText('Conceptual Overview')}
|
||||||
|
hidden={disabled && !this.props.piece.extra_data.conceptual_overview}>
|
||||||
<InputTextAreaToggable
|
<InputTextAreaToggable
|
||||||
rows={1}
|
rows={1}
|
||||||
defaultValue={piece.extra_data.conceptual_overview}
|
defaultValue={piece.extra_data.conceptual_overview}
|
||||||
placeholder={getLangText('Enter a conceptual overview...')}/>
|
placeholder={getLangText('Enter a conceptual overview...')}/>
|
||||||
</Property>
|
</Property>
|
||||||
|
<Property
|
||||||
|
name='medium'
|
||||||
|
label={getLangText('Medium (technical specifications)')}
|
||||||
|
hidden={disabled && !this.props.piece.extra_data.medium}>
|
||||||
|
<InputTextAreaToggable
|
||||||
|
rows={1}
|
||||||
|
defaultValue={piece.extra_data.medium}
|
||||||
|
placeholder={getLangText('Enter the medium (and other technical specifications)...')}/>
|
||||||
|
</Property>
|
||||||
|
<Property
|
||||||
|
name='size_duration'
|
||||||
|
label={getLangText('Size / Duration')}
|
||||||
|
hidden={disabled && !this.props.piece.extra_data.size_duration}>
|
||||||
|
<InputTextAreaToggable
|
||||||
|
rows={1}
|
||||||
|
defaultValue={piece.extra_data.size_duration}
|
||||||
|
placeholder={getLangText('Enter the size / duration...')}/>
|
||||||
|
</Property>
|
||||||
|
<Property
|
||||||
|
name='display_instructions'
|
||||||
|
label={getLangText('Display instructions')}
|
||||||
|
hidden={disabled && !this.props.piece.extra_data.display_instructions}>
|
||||||
|
<InputTextAreaToggable
|
||||||
|
rows={1}
|
||||||
|
defaultValue={piece.extra_data.display_instructions}
|
||||||
|
placeholder={getLangText('Enter the display instructions...')}/>
|
||||||
|
</Property>
|
||||||
|
<Property
|
||||||
|
name='additional_details'
|
||||||
|
label={getLangText('Additional details')}
|
||||||
|
hidden={disabled && !this.props.piece.extra_data.additional_details}>
|
||||||
|
<InputTextAreaToggable
|
||||||
|
rows={1}
|
||||||
|
defaultValue={piece.extra_data.additional_details}
|
||||||
|
placeholder={getLangText('Enter additional details...')}/>
|
||||||
|
</Property>
|
||||||
<FurtherDetailsFileuploader
|
<FurtherDetailsFileuploader
|
||||||
|
label={getLangText('Additional files (e.g. still images, pdf)')}
|
||||||
uploadStarted={this.uploadStarted}
|
uploadStarted={this.uploadStarted}
|
||||||
submitFile={this.submitFile}
|
submitFile={this.submitFile}
|
||||||
setIsUploadReady={this.setIsUploadReady}
|
setIsUploadReady={this.setIsUploadReady}
|
||||||
|
Loading…
Reference in New Issue
Block a user