diff options
author | mr <mr@mrautenberg.de> | 2011-10-17 12:34:19 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-10-17 12:34:19 +0200 |
commit | f6e1472f21b3fd0e5906269357cf6ce61978b4d7 (patch) | |
tree | c1546dd60d29d16093986de5f4bff8167c3333fb /views/predict.haml | |
parent | d1a61ff236cf95a7f3cba4a60e85c14e877c730d (diff) | |
parent | f60f559c98343b36ed50cfba1a365f2738f59a68 (diff) |
Merge branch 'feature/endpointassignment' into development
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 |