-@ancestor_1 = @menu_item.ancestors.reverse[1] if @menu_item
-@ancestor_1 = @original_menu_item if @original_menu_item



-if @lang_page.without_text_image_file
  -@facebook_img = @lang_page.without_text_image_file.file.large.medium.url
  
  
  
-@twitter_title = @lang_page.twitter_title if @lang_page.twitter_title?

                  
                  
-@sidebar = false


.qi_row
  .qi_pannel.qi_plain.padding{:style => "max-width:800px;margin:auto;"}
    %h1{:style => "text-align:center;"}=raw @menu_item.menu_content.lang_pages.find_by_lang_site_id(@lang.id).title
    =render :partial => "public/blocks/block", :locals => {:block => @menu_item.menu_content.blocks.find_by_lang_site_id(@lang.id)}

          
-if current_admin
  .admin_panel
    =link_to i(:pencil), edit_admin_menu_item_path(:id => @menu_item.menu_content.menu_item.id, :lang => @lang.slug), :class => "btn btn-primary"

    =link_to "Télécharger l'image de bandeau", @menu_item.image_file.file.large.url, :class => "btn btn-primary" if @menu_item.image_file


  
