<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -104,7 +104,7 @@ module RPH
       # renders the appropriate partial located in the template root
       def render_partial_for(element, field, label, tip, template, helper, required, args)
         errors = self.class.ignore_errors ? nil : error_message_for(field)
-        locals = { :element =&gt; element, :label =&gt; label, :errors =&gt; errors, :tip =&gt; tip, :helper =&gt; helper, :required =&gt; required }
+        locals = { :element =&gt; element, :field =&gt; field, :builder =&gt; self, :object =&gt; object, :object_name =&gt; object_name, :label =&gt; label, :errors =&gt; errors, :tip =&gt; tip, :helper =&gt; helper, :required =&gt; required }
 
         @template.render :partial =&gt; &quot;#{self.class.template_root}/#{template}.html.erb&quot;, :locals =&gt; locals
       end</diff>
      <filename>lib/form_assistant.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8d95b733e7457f071db88f1fabe94e3fd3272b34</id>
    </parent>
  </parents>
  <author>
    <name>Chris Scharf</name>
    <email>scharfie@gmail.com</email>
  </author>
  <url>http://github.com/rpheath/form_assistant/commit/da5bc929a38242f97da16e36d2ee02942a76f7ae</url>
  <id>da5bc929a38242f97da16e36d2ee02942a76f7ae</id>
  <committed-date>2009-03-24T09:24:08-07:00</committed-date>
  <authored-date>2009-03-11T10:26:09-07:00</authored-date>
  <message>Added some extra locals for more advanced templating

Signed-off-by: Ryan Heath &lt;rpheath@gmail.com&gt;</message>
  <tree>52c0209b35d362047c67a04ecbbd8a38dc7366f8</tree>
  <committer>
    <name>Ryan Heath</name>
    <email>rpheath@gmail.com</email>
  </committer>
</commit>
