Skip to content

Commit

Permalink
small formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
clayallsopp committed Nov 5, 2012
1 parent 0cff725 commit 71c86fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/formotion/form/form.rb
Expand Up @@ -198,8 +198,8 @@ def fill_out(data)
self.sections.each {|section|
if section.select_one?
# see if one of the select one value is used
unless (section.rows.map{|r| r.key} & data.keys).empty?
section.rows.each {|row|
unless (section.rows.map{ |r| r.key } & data.keys).empty?
section.rows.each { |row|
row.value = data.has_key?(row.key) ? true : nil
}
end
Expand Down

0 comments on commit 71c86fe

Please sign in to comment.