<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -51,8 +51,16 @@ module RPH
             options[:label].merge!(option.to_sym =&gt; options.delete(label_option)) if options[label_option]
           end
           
+          # consider trailing labels
+          label_with_field = if %w(check_box radio_button).include?(name)
+            label_options = options.delete(:label)
+            label_options[:class] = (label_options[:class].to_s + ' inline').strip
+            super + label(field, label_options.delete(:text), label_options)
+          else
+            label(field, options[:label].delete(:text), options.delete(:label)) + super
+          end
+          
           # return the fields
-          label_with_field = label(field, options[:label].delete(:text), options.delete(:label)) + super
           self.class.wrap_fields_with_paragraph_tag ? @template.content_tag(:p, label_with_field) : label_with_field
         end
       end</diff>
      <filename>lib/form_assistant.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9d187a114a3fa735e6e3e07d86bc56ba89170c79</id>
    </parent>
  </parents>
  <author>
    <name>rpheath</name>
    <email>rpheath@gmail.com</email>
  </author>
  <url>http://github.com/rpheath/form_assistant/commit/ba63c4e8697cfecfc1ea0ee4d59cadf16a0bb0e1</url>
  <id>ba63c4e8697cfecfc1ea0ee4d59cadf16a0bb0e1</id>
  <committed-date>2008-11-07T07:55:52-08:00</committed-date>
  <authored-date>2008-11-07T07:55:52-08:00</authored-date>
  <message>consider trailing labels</message>
  <tree>37200f882d3aeebee9a8b96ae6e781d9c8dfba8f</tree>
  <committer>
    <name>rpheath</name>
    <email>rpheath@gmail.com</email>
  </committer>
</commit>
