=semantic_form_for [:public, @p_friend], :remote => true do |f|

  .content
    =f.inputs do
      = f.hidden_field :p_customer_id
      = f.input :email
      
      =debug @p_friend.errors.messages
      
      
      
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  