#toolbar-text

#menu_item_block_edit{:style => "margin-right:330px;margin-top:45px;"}
 
  %h2
    =@mail_content.mail_type.slug
    (
    =@mail_content.lang_site.slug
    )
  

  =render :partial => "admin/blocks/block", :locals => {:block => @mail_content.block, :sortable => true} if @mail_content.block
  
  
  =#render(:partial => "public/shared/render_block.html.haml")
  
%br
%br
%br
%br
%br
%br
%br
%br
%br
%br
%br
#menu_item_inspector_container
  
  
  
  

  
  #menu_item_informations
    = link_to i(:eye), admin_mail_content_path(@mail_content), :target => "_mail_content_#{@mail_content.id}"
    .padding{:style => "padding:0px 10px"}
      %hr
      Clefs possibles :
      %br

    
      -@mail_content.tags.to_s.split(",").each do |tag|
        ="[#{tag}]"
        &nbsp;&nbsp;
    
      %hr


    
    %h4
      Infos sur le mail
    
    
    .panel#collapseOne{:style => "display:none;"}
      =render :partial => "form"    
        
    %h4 éléments
    
    .panel#collapse2
      .block_portlets_sortable#content_types
        -if @mail_content.block
          -@mail_content.alloweds_types.each do |slug, name|
 
            .content_type{:id => slug, :"data-type" => slug}
              =#i slug.to_s.constantize.picto
              =image_tag("admin/content_type/type_"+slug.to_s+".png", :alt => name, :title => name, :class => "handle")
      

    #collapse3{:style => "display:none;"}
      %h4 Modifier l'élément
    
    
      .panel
        #element_form
    
        %div#element_form_action
          %a.move.btn.btn-default.portlet_handle{:href => "#", :data => {:portlet_id => nil}}
            %span.move_message
              =ic :arrows
              &nbsp;
              déplacer
            %span.cancel_message
              =ic :ban
              &nbsp;
              annuler
          
          =link_to ic(:"trash-o"), "#", :method => :delete, :data => { :confirm => "Etes-vous sûr ?"}, :remote => true, :class => "btn btn-danger trash"
        
          %button.save.btn.btn-primary
            =ic(:"floppy-o")
            &nbsp;
            Sauvegarder
        




  

  


    
  
