
%h2 Pas encore client ?
= semantic_form_for [:public, @p_customer] do |f| 
  =hidden_field_tag :for_order, params[:for_order]
  =f.inputs do 
    =f.hidden_field :valid_public
    =f.hidden_field :valid_siren
    =f.input :siren, :label => "Numéro de Siren :"
    =f.input :ape, :label => "Code APE :"
    =f.input :email, :label => "Email :"
    =f.input :password, :label => "Mot de passe :"
    
    =f.submit "Créer mon compte", :class => "btn btn-primary"