Browse files

Change tabs to spaces in form options helper [ci skip]

  • Loading branch information...
1 parent a0d8422 commit fdcd7c0f2ee264219c322e5cb8f880ca48e14d5f @carlosantoniodasilva carlosantoniodasilva committed Feb 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/form_options_helper.rb
View
4 actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -508,9 +508,9 @@ def time_zone_options_for_select(selected = nil, priority_zones = nil, model = :
convert_zones = lambda { |list| list.map { |z| [ z.to_s, z.name ] } }
if priority_zones
- if priority_zones.is_a?(Regexp)
+ if priority_zones.is_a?(Regexp)
priority_zones = model.all.find_all {|z| z =~ priority_zones}
- end
+ end
zone_options += options_for_select(convert_zones[priority_zones], selected)
zone_options += "<option value=\"\" disabled=\"disabled\">-------------</option>\n"

0 comments on commit fdcd7c0

Please sign in to comment.