
= semantic_form_for [:admin,@menu_item], :remote => true do |form| 
  .content  
    =form.inputs do
      =form.input :categories, :label => "Catégories du blog associée :", :collection => Category.all, :as => :check_boxes
      =form.input :tags, :label => "Mots clef", :as => :check_boxes
      =form.input :articles, :label => "Articles associés :", :collection => Article.all, :as => :check_boxes
  
  
    
    =#render :partial => "admin/"+@menu_item.menu_content_type.tableize.to_s+"/form", :locals => {:form => form}
  
  .actions
    = form.submit "Sauvegarder", :class => "btn btn-primary"
    
      
