<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,6 @@
 == master
 
+* Don't style hidden inputs
 * Fix input styling not always being included on classes directly including ActionView::Helpers::TagHelper
 
 == 0.1.0 / 2008-12-14</diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ ActionView::Helpers::TagHelper.class_eval do
   # for the tag.
   def styled_input(name, options = nil)
     options = (options || {}).stringify_keys
-    options['class'] = &quot;#{options['class']} #{options['type']}&quot;.strip if name.to_s == 'input' &amp;&amp; options.include?('type')
+    options['class'] = &quot;#{options['class']} #{options['type']}&quot;.strip if name.to_s == 'input' &amp;&amp; options.include?('type') &amp;&amp; options['type'] != 'hidden'
     options
   end
   </diff>
      <filename>lib/styled_inputs/extensions/tag_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,8 @@
 require File.dirname(__FILE__) + '/../test_helper'
 
 class DateHelperTest &lt; ActionView::TestCase
-  def test_should_style_hidden_date_fields_if_using_hidden
-    assert_equal '&lt;input class=&quot;hidden&quot; id=&quot;date_year&quot; name=&quot;date[year]&quot; type=&quot;hidden&quot; value=&quot;1980&quot; /&gt;', select_year(1980, :use_hidden =&gt; true).strip
+  def test_should_not_style_hidden_date_fields_if_using_hidden
+    assert_equal '&lt;input id=&quot;date_year&quot; name=&quot;date[year]&quot; type=&quot;hidden&quot; value=&quot;1980&quot; /&gt;', select_year(1980, :use_hidden =&gt; true).strip
   end
   
   def test_should_not_style_hidden_date_fields_if_not_using_hidden</diff>
      <filename>test/helpers/date_helper_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,8 +20,8 @@ class FormHelperTest &lt; ActionView::TestCase
     assert_equal '&lt;input class=&quot;password&quot; id=&quot;person_secret&quot; name=&quot;person[secret]&quot; size=&quot;30&quot; type=&quot;password&quot; /&gt;', password_field(:person, :secret)
   end
   
-  def test_should_style_hidden_field
-    assert_equal '&lt;input class=&quot;hidden&quot; id=&quot;person_name&quot; name=&quot;person[name]&quot; type=&quot;hidden&quot; /&gt;', hidden_field(:person, :name)
+  def test_should_not_style_hidden_field
+    assert_equal '&lt;input id=&quot;person_name&quot; name=&quot;person[name]&quot; type=&quot;hidden&quot; /&gt;', hidden_field(:person, :name)
   end
   
   def test_should_style_file_field
@@ -31,7 +31,7 @@ class FormHelperTest &lt; ActionView::TestCase
   def test_should_style_check_box
     expected =
       '&lt;input class=&quot;checkbox&quot; id=&quot;person_agree&quot; name=&quot;person[agree]&quot; type=&quot;checkbox&quot; value=&quot;1&quot; /&gt;' +
-      '&lt;input class=&quot;hidden&quot; name=&quot;person[agree]&quot; type=&quot;hidden&quot; value=&quot;0&quot; /&gt;'
+      '&lt;input name=&quot;person[agree]&quot; type=&quot;hidden&quot; value=&quot;0&quot; /&gt;'
     assert_equal expected, check_box(:person, :agree)
   end
   </diff>
      <filename>test/helpers/form_helper_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,8 +5,8 @@ class FormTagHelperTest &lt; ActionView::TestCase
     assert_equal '&lt;input class=&quot;text&quot; id=&quot;name&quot; name=&quot;name&quot; type=&quot;text&quot; /&gt;', text_field_tag('name')
   end
   
-  def test_should_style_hidden_field_tag
-    assert_equal '&lt;input class=&quot;hidden&quot; id=&quot;name&quot; name=&quot;name&quot; type=&quot;hidden&quot; /&gt;', hidden_field_tag('name')
+  def test_should_not_style_hidden_field_tag
+    assert_equal '&lt;input id=&quot;name&quot; name=&quot;name&quot; type=&quot;hidden&quot; /&gt;', hidden_field_tag('name')
   end
   
   def test_should_style_file_field_tag</diff>
      <filename>test/helpers/form_tag_helper_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f0fe1327bb950ae86e7211004cac30d1465d1d82</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Pfeifer</name>
    <email>aaron.pfeifer@gmail.com</email>
  </author>
  <url>http://github.com/pluginaweek/styled_inputs/commit/e21d703e96008cf37f363ae7c50de414f5436665</url>
  <id>e21d703e96008cf37f363ae7c50de414f5436665</id>
  <committed-date>2008-12-28T14:18:52-08:00</committed-date>
  <authored-date>2008-12-28T14:18:52-08:00</authored-date>
  <message>Don't style hidden inputs</message>
  <tree>61a1b6189d062604d9297a4fe8e0b099d396cee4</tree>
  <committer>
    <name>Aaron Pfeifer</name>
    <email>aaron.pfeifer@gmail.com</email>
  </committer>
</commit>
