renderAlert () {
		if (this.hasLocal()) {
			return (
				<FormInput noedit>Image selected - save to upload</FormInput>
			);
		} else if (this.state.origin === 'cloudinary') {
			return (
				<FormInput noedit>Image selected from Cloudinary</FormInput>
			);
		} else if (this.state.removeExisting) {
			return (
				<FormInput noedit>Image {this.props.autoCleanup ? 'deleted' : 'removed'} - save to confirm</FormInput>
			);
		} else {
			return null;
		}
	}
/**
	 * Render an alert.
	 *
	 *  - On a local file, output a "to be uploaded" message.
	 *  - On a cloudinary file, output a "from cloudinary" message.
	 *  - On removal of existing file, output a "save to remove" message.
	 */
Render an alert.
- On a local file, output a "to be uploaded" message.
- On a cloudinary file, output a "from cloudinary" message.
- On removal of existing file, output a "save to remove" message.
Render an alert . - On a local file output a " to be uploaded " message . - On a cloudinary file output a " from cloudinary " message . - On removal of existing file output a " save to remove " message .
renderAlert () {
		if (this.hasLocal()) {
			return (
				<FormInput noedit>Image selected - save to upload</FormInput>
			);
		} else if (this.state.origin === 'cloudinary') {
			return (
				<FormInput noedit>Image selected from Cloudinary</FormInput>
			);
		} else if (this.state.removeExisting) {
			return (
				<FormInput noedit>Image {this.props.autoCleanup ? 'deleted' : 'removed'} - save to confirm</FormInput>
			);
		} else {
			return null;
		}
	}
renderAlert ( ) { if ( this . hasLocal ( ) ) { return ( < FormInput noedit > Image selected - save to upload < / FormInput > ) ; } else if ( this . state . origin === 'cloudinary' ) { return ( < FormInput noedit > Image selected from Cloudinary < / FormInput > ) ; } else if ( this . state . removeExisting ) { return ( < FormInput noedit > Image  { this . props . autoCleanup ? 'deleted' : 'removed' }  - save to confirm < / FormInput > ) ; } else { return null ; } }
Render an alert.
Render an alert .