<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -116,7 +116,7 @@ module AfForm
         :required =&gt; required
       }
 
-      set_css_class = [field_type, structure].compact.join(' ').rstrip
+      set_css_class = [field_type, structure, (options[:label_top] ? 'break_select' : nil) ].compact.join(' ').rstrip
       # set_css_id    = &quot;#{@object_name}_#{fieldname}_set&quot; # not guaranteed unique
 
       content = field_order.map{ |c| field_components[c] }.compact.join('')
@@ -132,11 +132,12 @@ module AfForm
     # these options must be deleted, so when the wrapped form helpers call super,
     # they are not sucked along - they'd make for invalid html/xhtlm attributes
     def extract_af_options(field, field_type, options)
-      label_text = options.delete(:label)    || field.to_s.humanize
-      required   = options.delete(:required) || false
-      note       = options.delete(:note)     || false
+      label_text = options.delete(:label)     || field.to_s.humanize
+      required   = options.delete(:required)  || false
+      note       = options.delete(:note)      || false
+      label_top  = options.delete(:label_top) || true
       structure  = extract_layout_options(options)
-      return label_text, {:required =&gt; required, :structure =&gt; structure, :note =&gt; note, :field_type =&gt; field_type}
+      return label_text, {:required =&gt; required, :structure =&gt; structure, :note =&gt; note, :field_type =&gt; field_type, :label_top =&gt; label_top}
     end
 
     # need the name of the field type for the helper we're creating</diff>
      <filename>lib/accessible_form_builder.rb</filename>
    </modified>
    <modified>
      <diff>@@ -41,5 +41,7 @@ task :afb_update do
     FileUtils.cp file, js_dest_dir
   end
   puts
+
+  # TODO: remove duplication above :(
   
 end
\ No newline at end of file</diff>
      <filename>tasks/accesible_form_tasks.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>390b29a895587d59572cbd6f91aee9c0f93f23da</id>
    </parent>
  </parents>
  <author>
    <name>Jim Lindley</name>
    <email>jim@voidcontext.com</email>
  </author>
  <url>http://github.com/jlindley/accessible_form_builder/commit/9891c02b39a7da9dfc3d27522b886395bd409b65</url>
  <id>9891c02b39a7da9dfc3d27522b886395bd409b65</id>
  <committed-date>2008-11-16T08:43:29-08:00</committed-date>
  <authored-date>2008-11-16T08:43:29-08:00</authored-date>
  <message>Add option for select to break to next line.</message>
  <tree>820f5f8f5a3117c8678f76f9748b8b2a8a3c7844</tree>
  <committer>
    <name>Jim Lindley</name>
    <email>jim@voidcontext.com</email>
  </committer>
</commit>
