diff options
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 |