           })
         ])
       }.bind(this))}
-      {isMultilingual ? null : this.addPhraseButton()}
+      {this.addPhraseButton()}
     </span>`


    `<span>
      <ChineseIme corpus={this.props.corpus} />
      {this.searchInputLinks(isMultilingual)}
      {searchQueries.map(function(searchQuery, index) {
        return ([
          isMultilingual ? this.languageSelect(searchQuery) : null,
          React.createElement(component, {
            showRemoveRow: searchQueries.length > 1,
            hasPhoneticForm: corpus.has_phonetic,

    else
      `<a href="" title={title} onClick={onClick}>{name}</a>`

  searchInputLinks: () ->
    `<div className="row-fluid search-input-links">
      {this.searchInput("Simple", "Simple search box", this.showSimple, "simple")}&nbsp;|&nbsp;
      {this.searchInput("Extended", "Search for grammatical categories etc.", this.showMultiword, "multiword")}&nbsp;|&nbsp;
      {this.searchInput("Regexp", "Regular expressions", this.showRegex, "regex")}
      {this.searchButton()}
      {this.languageAddButton()}
    </div>`

  isMultilingual: ->
    corpusNs.isMultilingual(@props.corpus)

  render: ->
    {corpus, searchQueries, handleQueryChanged, handleSearch} = @props

    if @state.statechart.pathContains('simple')
      component = CwbSimpleInput
