summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/predict.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/predict.haml b/views/predict.haml
index 2e78b69..ff1dab9 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -31,7 +31,7 @@
Choose one or more prediction models
%br
- @models.each do |model|
- - if is_authorized(model.web_uri, "DELETE")
+ - if is_authorized(model.web_uri, "PUT")
%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false}
%label{:for => "model#{model.id}"}
= model.name