         onDisconnectVM={@props.onDisconnectVM}
       />
     </main>
+
+
+  renderEditname: ->
+
+    return null  unless @props.shouldRenderDetails
+    return null  unless @props.machine.get('label') is @state.selectedMachine
+
+    <div className='MachineListItem--Edit-name' onClick={@bound 'onClickEditname'}>Edit Name </div>
+
+
+  onClickEditname: -> @refs.inputbox.focus()
 
 
   toggle: (event) ->

      <cite style={width: "#{percentage}%"} />
    </div>

  setMachineLabel: ->

    machineUId = @props.machine.get 'uid'
    EnvironmentFlux.actions.setLabel machineUId, @state.machineLabel

  inputOnChange: (event) ->


        {@renderStackTitle()}
        {@renderDetailToggle()}
      </header>
      {@renderEditname()}
      {@renderMachineDetails()}
    </div>

