#toolbar-text

#menu_item_block_edit{:style => "margin-right:330px;margin-top:45px;"}
 
  
  %h2
    Communiqué en 
    =@lang.name.downcase

  =render :partial => "admin/blocks/block", :locals => {:block => @press_release.blocks.find_by_lang_site_id(@lang.id), :sortable => true} 
  
  
%br
%br
%br
%br
%br
%br
%br
%br
%br
%br
%br
#menu_item_inspector_container
  
  
  
  

  
  #menu_item_informations
    %br
    %p=link_to ic(:eye)+" Voir", public_press_release_path(:id => @press_release.slug), :class => "btn btn-primary"
    
    %h4
      Infos sur le CP
    
    
    .panel#collapseOne{:style => "display:none;"}
      =render :partial => "form"    
        
    %h4 éléments
    
    .panel#collapse2
      .block_portlets_sortable#content_types
        -@press_release.blocks[0].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
        




  

  


    
  
