anchor.diff:                                            'News'    => 'news'
                                           } %>
     </div>
  -  
  +
     <div class="types image <% unless section_module.type == "Image" %>hidden<% end %>">
   
       <%= form.inputs "Image file" do %>
  -    
  +
         <fieldset class='form-horizontal'>
   
           <% if section_module.image %>
  
positive.code: <%= form.inputs do %>
    <%= form.input :title %>
    <%= form.input :type, :as => :select, :collection => ['Image', 'Frame', 'Text'] %>
    
    <div class="types image text hidden">
      <%= form.input :link %>
    </div>
    
    <div class="types frame <% unless section_module.type == "Frame" %>hidden<% end %>">
      <%= form.input :frame, :collection => {
                                            'Blog'    => 'blog',
  
negative.code:       $('.' + this.value.toLowerCase()).removeClass('hidden');
      })
    </script>
  <% end %>
  