<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,18 +2,16 @@
 
   # Read only fields.
   if @resource[:class].typus_field_options_for(:read_only).to_s.include?(attribute)
-    custom = { :readonly =&gt; 'readonly' }
+    options[:readonly] = 'readonly'
     label_text &lt;&lt; &quot; &lt;small&gt;#{_(&quot;Read only&quot;)}&lt;/small&gt;&quot;
   end
 
   # Auto generated fields.
   if @resource[:class].typus_field_options_for(:auto_generated).include?(attribute)
-    custom = { :auto_generated =&gt; true }
+    options[:auto_generated] = true
     label_text &lt;&lt; &quot; &lt;small&gt;#{_(&quot;Auto generated&quot;)}&lt;/small&gt;&quot;
   end
 
-  options = options.merge!(custom)
-
 %&gt;
 
 &lt;li&gt;</diff>
      <filename>app/views/admin/templates/_string.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c5081afd1492acfade6ac95ec139c834eef35c5c</id>
    </parent>
  </parents>
  <author>
    <name>Francesc Esplugas</name>
    <email>francesc@intraducibles.com</email>
  </author>
  <url>http://github.com/fesplugas/typus/commit/36ad45be30160e9f3fe3e608aec7b90849a94ea3</url>
  <id>36ad45be30160e9f3fe3e608aec7b90849a94ea3</id>
  <committed-date>2009-11-05T09:27:13-08:00</committed-date>
  <authored-date>2009-11-05T09:27:13-08:00</authored-date>
  <message>Revert &quot;Merge the options.&quot;

This reverts commit 29eba12bc3495616331e8d851961445872e3fcdc.</message>
  <tree>b1f01bbae0eeb04000347aa0d66c7b8b89e784fd</tree>
  <committer>
    <name>Francesc Esplugas</name>
    <email>francesc@intraducibles.com</email>
  </committer>
</commit>
