         (span className: "label__item label label-default", key: "service_#{i}", service)
       
     (span null,
-      (button className: 'title__btn_edit edit-body__btn-group_in-title btn btn-link', type: "button",
+      (button className: 'title__btn_edit edit-body__btn-group_in-title btn btn-link', type: "button", onClick: @onEditPressed,
         (i className: 'button__icon fa fa-pencil')
         (span null, 'Edit'))
 

                (h4 className: "form__title", 'Services')
                (div className: "form__label",
                  (services))))))))
                  
  renderForm: ->
    (div null,
    
    )

{div, span, h3, h4, button, i, ul, li, p, textarea, input} = React.DOM

@ProfileInfo = React.createFactory React.createClass
  getInitialState: ->
    edit_mode: false
    user: @props.user
    
  onEditPressed: ->
    @setState edit_mode: true

  render: ->
    innerContent = if @state.edit_mode
