+
+
<%= f.label :dob, "Birth Date" %> |
<%= f.label :hired, "Hire Date" %> |
- <%= f.label :payrate, "Pay Rate" %> |
+ <%= f.label :payrate, "Rate" %> |
- <%= f.calendar_date_select :dob, :size => "8",
+ |
+ <%= f.calendar_date_select :dob, :maxsize => "10",
:year_range => 70.years.ago..0.years.ago,
:buttons => false %> |
- <%= f.calendar_date_select :hired, :size => "8",
+ |
+ <%= f.calendar_date_select :hired, :maxsize => "10",
:year_range => 20.years.ago..1.year.from_now,
:buttons => false %> |
- <%= f.text_field :payrate, :size => "2" %> |
+
+ <%= f.text_field :payrate, :maxsize => "4" %> |
|
@@ -57,10 +71,14 @@
<%= f.label :tax_status, "Tax Info" %> |
- <%= f.text_field :phone, :size => "10" %> |
- <%= f.text_field :ssn, :size => "9" %> |
- <%= f.text_field :tax_status, :size => "1" %> |
- <%= f.text_field :dependents, :size => "1" %> |
+
+ <%= f.text_field :phone, :maxsize => "13" %> |
+
+ <%= f.text_field :ssn, :maxsize => "11" %> |
+
+ <%= f.text_field :tax_status, :maxsize => "1" %> |
+
+ <%= f.text_field :dependents, :maxsize => "2" %> |