     renderEdit: ->
         findIcon = <button className="btn btn-primary icon icon-search icon-lg"
             onClick={@showFinder}/>
+
         <LC.Input
             ref="input"
             {...@props}

        ).then(Lanes.emptyFn, Lanes.emptyFn)

    setModel: (model) ->
        @props.commands?.setModel(model)
        @props.onModelSet?(model)


class Lanes.Components.RecordFinder extends Lanes.React.Component

    propTypes:
        query:       Lanes.PropTypes.State.isRequired
        model:       Lanes.PropTypes.State
        parentModel: Lanes.PropTypes.State
        commands:    React.PropTypes.object
        onModelSet:  React.PropTypes.func

    contextTypes:
        viewport: Lanes.PropTypes.State.isRequired
