=semantic_form_for [:admin, @specific_map, @specific_map_item], :remote => (true if @specific_map_item.id) do |f|
  .content
    =f.inputs do
      =f.hidden_field :specific_map_id
  
    
      = f.input :titre, :label => "Titre :" if @specific_map.id == 1
      = f.input :name, :label => "Nom :" 
      -if @specific_map.id == 1
        = f.input :organisation, :label => "Organisation :" 
        = f.input :address, :label => "adresse :" 
        = f.input :cp, :label => "Code postal :" 
      = f.input :city, :label => "Ville :" 
      = f.input :dpt, :label => "Département :" if @specific_map.id == 2
      = f.input :country, :label => "Pays :" , :locale => 'fr', :priority_countries => ["FR", "CH", "BE", "US", "GB", "CA"]
      -if @specific_map.id == 1
        = f.input :tel, :label => "Tel :" 
        = f.input :email, :label => "Email :" 
        = f.input :website, :label => "Site :" 
        = f.input :notes, :label => "Notes :" 
      
        = f.input :cav_levels, :label => "CAVs", :collection => CavLevel.all, :as => :check_boxes
      
      
      
      
    
  .actions
    =f.submit "sauvegarder", :class => "btn btn-primary"
  