anchor.diff: +<script type="text/javascript">
  +    $(document).ready(function(){
  +        $("#all").click(function()
  +        {
  +            var checked_status = this.checked;
  +            checkToggle(checked_status);
  +            $("#form_sections tbody input[type=checkbox]").attr("checked", checked_status);
  +        });
  +
  +    });
  +    function checkToggle(checkStatus){
  +        $("#form_sections tbody input[type=checkbox]").each(function()
  +        {
  +            this.checked = checkStatus;
  +        });
  +    }
  +</script>
   <h1 class="no_border float_left">Forms</h1>
   <%= link_to content_tag(:span,'Create New Form Section',:class=>'create_user') , new_form_section_path, :class=>'btn' %>
   <div class="clearfix"></div>
  
positive.code: </div>
  <p></p>
  
  <%= form_tag  enable_form_url, :id => 'enable_or_disable_form_section', :method => :post, :name => 'sections'  do -%>
  
  <table id="form_sections" class="list_table">
  <thead>
    <tr>
      <th><input type="checkbox" disabled=true /></th>
      <th>Visibility</th>
      <th>Name</th>
      <th>Description</th>
  
negative.code: </tbody>
  </table>
  <div class="formSectionButtons">
    <input type="submit" name="Enable" value="Show" id="enable_form" class="btn"/>
    <input type="submit" name="Disable" value="Hide" id="disable_form" class="btn"/>
    <input type="submit" name="SaveOrder" value="Save Order" id="save_order" class="btn" />
  </div>
  <div class="backLink">
    <%= link_with_confirm "Back", admin_path() %>
  