diff options
author | mr <mr@mrautenberg.de> | 2011-03-14 17:07:09 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-03-14 17:07:09 +0100 |
commit | 37b3ecfa4bb27b2eb9ffe8efa7bf8a4d32cf1dca (patch) | |
tree | 8b360f785aeccbea3df8ced8bbc4742b99074d80 /views | |
parent | 4524aab585f88156058b6335c6e52f53947327c4 (diff) |
fix progress bar
Diffstat (limited to 'views')
-rw-r--r-- | views/models.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/models.haml b/views/models.haml index a99144a..77ea376 100644 --- a/views/models.haml +++ b/views/models.haml @@ -17,5 +17,6 @@ = haml :classification, :layout => false = haml :regression, :layout => false -- @models.each do |model| - = haml :model, :locals=>{:model=>model,:subjectstring=>subjectstring}, :layout => false +- if @models + - @models.each do |model| + = haml :model, :locals=>{:model=>model,:subjectstring=>subjectstring}, :layout => false |