<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -188,6 +188,7 @@ module Merb::Helpers::SexyForm
           content
         else
           container = container || {}
+          add_css_class(container, &quot;container&quot;)
           container.merge!(:id =&gt; &quot;#{attrs[:id]}_container&quot;) if attrs[:id] and container[:id].blank?
           container_tag = Merb::Plugins.config[:merb_sexy_forms][:container_tag]
           tag(container_tag, content, container)
@@ -200,7 +201,7 @@ module Merb::Helpers::SexyForm
           content
         else
           wrapper ||= {}
-          add_css_class(wrapper, &quot;field&quot;)
+          add_css_class(wrapper, &quot;field wrapper&quot;)
           tag(:div, content, wrapper)
         end
       end</diff>
      <filename>lib/merb-sexy-forms/builder.rb</filename>
    </modified>
    <modified>
      <diff>@@ -89,9 +89,14 @@ describe &quot;sexy_form_for&quot; do
     ret.should have_selector(&quot;form label.main&quot;)
   end
 
-  it &quot;should add field class to field div&quot; do
+  it &quot;should add field and wrapper classes to field div&quot; do
     ret = @c.render(:basic)
-    ret.should have_selector(&quot;form div.field&quot;)
+    ret.should have_selector(&quot;form div.field.wrapper&quot;)
+  end
+
+  it &quot;should add container class to container&quot; do
+    ret = @c.render(:basic)
+    ret.should have_selector(&quot;form div.container#fake_model_foo_container&quot;)
   end
 end
 </diff>
      <filename>spec/sexy_form_for_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b4ed75b8ea9067ba6dd2d1f75fbe2728b7a09ccc</id>
    </parent>
  </parents>
  <author>
    <name>Peter Sarnacki</name>
    <email>drogus@gmail.com</email>
  </author>
  <url>http://github.com/drogus/merb-sexy-forms/commit/650b9eed6b91abf1ad71b5b164422b94c2cee842</url>
  <id>650b9eed6b91abf1ad71b5b164422b94c2cee842</id>
  <committed-date>2009-01-20T06:50:34-08:00</committed-date>
  <authored-date>2009-01-20T06:50:34-08:00</authored-date>
  <message>Add classes for containers and wrappers</message>
  <tree>e70683c50238a0fc0f8993158911a368a50c5ad1</tree>
  <committer>
    <name>Peter Sarnacki</name>
    <email>drogus@gmail.com</email>
  </committer>
</commit>
