% content_for :header_tags do %>
<% if defined? observe_field %>
<%= javascript_include_tag('toggle_functions_prototype', :plugin => 'sidebar') %>
<% else %>
<%= javascript_include_tag('toggle_functions_jquery', :plugin => 'sidebar') %>
<% end %>
<% end %>
<%= l(:label_sidebar_visibility) %>
<% form = form_tag do %>
<%= submit_tag(l(:button_save)) %>
<% end %>
<%= form if Rails::VERSION::MAJOR >= 3 %>