diff options
author | mr <mr@mrautenberg.de> | 2011-10-19 13:11:24 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-10-19 13:11:24 +0200 |
commit | d89c87e844e81d016ab3ba8a240e03a609a7015e (patch) | |
tree | 6d5323fee132cfdaa492f9844704a9f855ff2635 /views/predict.haml | |
parent | 778c58cad1c6a5b81655d731992c64a0efcec592 (diff) | |
parent | f53928a35754c29f7ee912ed5f405731d451f49e (diff) |
Merge branch 'release/v3.0.1'v3.0.1
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/views/predict.haml b/views/predict.haml index 670ca44..c6097ac 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -30,7 +30,12 @@ %legend Choose one or more prediction models %br + - endpoint = '' - @models.each do |model| + -if model.endpoint != endpoint + -endpoint = model.endpoint + %b #{endpoint}: + %br %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false} %label{:for => "model#{model.id}"} = model.name |