-fr =menu_item.menu_item_langs.find_by_lang_site_id(1)
-en =menu_item.menu_item_langs.find_by_lang_site_id(2)

%tr
  %td
    -menu_item.ancestors.size.times do
      &nbsp;&nbsp;&nbsp;
    
    =link_to en.name, menu_item_path(:url =>  en.permalink, :lang => "en"), :target => "_blank"
    =link_to "(fr)", menu_item_path(:url =>  fr.permalink, :lang => "fr"), :target => "_blank"
  %td
    ="oui" if en.enabled
  %td
    ="oui" if en.visible
  %td
    = link_to i(:pencil), edit_admin_menu_item_path(menu_item, :lang => "en")
-if menu_item.children.size > 0
  =render :partial => "menu_english", :collection => menu_item.children.order("position ASC"), :as => "menu_item"