 
     else if @state.statechart.pathContains('multiword')
       `<span>
+        <ChineseIme corpus={this.props.corpus} />
         <div className="row-fluid search-input-links">
           <a href="" title="Simple search box" onClick={this.showSimple}>Simple</a>&nbsp;|&nbsp;
           <b>Extended</b>&nbsp;|&nbsp;

  addPhraseButton: ->
    `<button className="btn add-phrase-btn" onClick={this.props.handleAddPhrase}>Or...</button>`

  componentDidMount: ->
    $("input[type='text']").chineseInput
      debug: false, # print debug messages
      input:
        initial: 'simplified', # or 'simplified'
        allowChange: false, # allow transition between traditional and simplified
      allowHide: true, # allow the chinese input to be switched off
      active: false # whether or not the plugin should be active by default


  render: ->


    else
      `<span>
        <ChineseIme corpus={this.props.corpus} />
        <div className="row-fluid search-input-links">
          <a href="" title="Simple search box" onClick={this.showSimple}>Simple</a>&nbsp;|&nbsp;
          <a href="" title="Search for grammatical categories etc." onClick={this.showMultiword}>Extended</a>&nbsp;|&nbsp;
