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

  .content
    =f.inputs do
      = f.input :parent_id, :label => "Parent :" , :collection => AdminPermission.all(), :as => :select, :member_label => :member_label
      
      
      = f.input :code, :label => "Code :" 
      
      = f.input :name, :label => "Nom :" 
      
      = f.input :slug, :label => "Slug :" 
      
      = f.input :position, :label => "Position :" 
      
      
   
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  