1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Add anchorization to whitelabel forms

This commit is contained in:
Brett Sun 2016-01-20 12:31:02 +01:00
parent d75a2d257d
commit 0045dc6981
3 changed files with 11 additions and 7 deletions

View File

@ -66,25 +66,25 @@ let FurtherDetails = React.createClass({
<PieceExtraDataForm <PieceExtraDataForm
name='artist_contact_info' name='artist_contact_info'
title='Artist Contact Info' title='Artist Contact Info'
handleSuccess={this.showNotification}
convertLinks convertLinks
editable={editable} editable={editable}
extraData={extraData} extraData={extraData}
handleSuccess={this.showNotification}
pieceId={pieceId} /> pieceId={pieceId} />
<PieceExtraDataForm <PieceExtraDataForm
name='display_instructions' name='display_instructions'
title='Display Instructions' title='Display Instructions'
handleSuccess={this.showNotification}
editable={editable} editable={editable}
pieceId={pieceId} extraData={extraData}
extraData={extraData} /> handleSuccess={this.showNotification}
pieceId={pieceId} />
<PieceExtraDataForm <PieceExtraDataForm
name='technology_details' name='technology_details'
title='Technology Details' title='Technology Details'
handleSuccess={this.showNotification}
editable={editable} editable={editable}
pieceId={pieceId} extraData={extraData}
extraData={extraData} /> handleSuccess={this.showNotification}
pieceId={pieceId} />
<Form> <Form>
<FurtherDetailsFileuploader <FurtherDetailsFileuploader
submitFile={this.submitFile} submitFile={this.submitFile}

View File

@ -134,6 +134,7 @@ let CylandAdditionalDataForm = React.createClass({
expanded={!disabled || !!extraData.artist_contact_information}> expanded={!disabled || !!extraData.artist_contact_information}>
<InputTextAreaToggable <InputTextAreaToggable
rows={1} rows={1}
convertLinks
defaultValue={extraData.artist_contact_information} defaultValue={extraData.artist_contact_information}
placeholder={getLangText('Enter the artist\'s contact information...')} /> placeholder={getLangText('Enter the artist\'s contact information...')} />
</Property> </Property>

View File

@ -110,6 +110,7 @@ let IkonotvArtistDetailsForm = React.createClass({
expanded={!disabled || !!extraData.artist_website}> expanded={!disabled || !!extraData.artist_website}>
<InputTextAreaToggable <InputTextAreaToggable
rows={1} rows={1}
convertLinks
defaultValue={extraData.artist_website} defaultValue={extraData.artist_website}
placeholder={getLangText('The artist\'s website if present...')} /> placeholder={getLangText('The artist\'s website if present...')} />
</Property> </Property>
@ -119,6 +120,7 @@ let IkonotvArtistDetailsForm = React.createClass({
expanded={!disabled || !!extraData.gallery_website}> expanded={!disabled || !!extraData.gallery_website}>
<InputTextAreaToggable <InputTextAreaToggable
rows={1} rows={1}
convertLinks
defaultValue={extraData.gallery_website} defaultValue={extraData.gallery_website}
placeholder={getLangText('The website of any related Gallery or Museum')} /> placeholder={getLangText('The website of any related Gallery or Museum')} />
</Property> </Property>
@ -128,6 +130,7 @@ let IkonotvArtistDetailsForm = React.createClass({
expanded={!disabled || !!extraData.additional_websites}> expanded={!disabled || !!extraData.additional_websites}>
<InputTextAreaToggable <InputTextAreaToggable
rows={1} rows={1}
convertLinks
defaultValue={extraData.additional_websites} defaultValue={extraData.additional_websites}
placeholder={getLangText('Enter additional Websites/Publications if any')} /> placeholder={getLangText('Enter additional Websites/Publications if any')} />
</Property> </Property>