=semantic_form_for [:admin, @detenu], :remote => true do |f|

  .content
    =f.inputs do
    
      =f.input :detenu_group_id, :label => "Type :", :as => :select, :collection => DetenuGroup.order(:name).all, :include_blank => false
      = f.input :name, :label => "Nom :" 

      =f.input :sexe, :label => "Sexe :", :as => :select, :collection => [["Mâle", 1], ["Femelle", 2]], :include_blank => false
      = f.input :free_text, :label => "Texte libération :" 
      = f.input :free_date, :label => "Date libération :" 
      = f.input :age_text, :label => "Age :" 
      = f.input :provisoire, :label => "Provisoire ?" 
      = f.input :link, :label => "Lien vers une page :" 
      
   
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  